|
-
__OSX powered__
Ok: I'm making a glossary for a school project, the problem that came up is weird:
I have one main swf : glossary.swf and one search swf : search.swf.
I've got one input field "search_string", and on the "go" button it loads search.swf in like this:
Code:
loadMovieNum ("search.swf?s="+search_string, 10);
gotoAndStop ("load_simple_search");
search.swf picks up the "s" variable (I can see it in a text field)
BUT: I then go on and load the search(within search.swf) with :
Code:
loadVariablesNum ("search.php?search=simple&search_string="+ this.s, 10, "POST");
The search class is working perfectly when loaded in the browser. (So the problem is not there)
Let's say that i pass "s=sale", then the search.php returns 0 results (once again I can see this in a text field), but when I put "sale sale sale" into the search_string field, I get back 15 (wich it should do according to if I look it up in search.php)
Now: why would this happen??
I've tried a lot of combinations on this, I even duplicated search_string 3 times and sent it to search.swf, but it still would not work.......
Can you see anything wrong here?? I've been working myself blind on this problem right now.
Thanks!
-
huh
not sure by your explanatioin what the issue is
what does '15' mean?
please provide a little more detail of what your question is and i will be happy to take another look

[Edited by hansel on 05-05-2002 at 04:11 AM]
-
__OSX powered__
I get back 15 results from the search in the DB.
The problem is in short: I have to write in "sale sale sale" to search for "sale" in the database (this will return 15 results)
Just tested this: **** sale ***** and it returned 15 results as well....
If I enter "sale" I get back 0 results.
If I do search.php?search=simple&search_string=sale in the browser it returns 15 results as well, so it's something with flash that messes things up.
-
it may be a flash issue and not a code issue
depending on your specific conditions......
see this mm article:
http://www.macromedia.com/support/fl...h_get_post.htm
try using 'GET'......
this should work ok since your query string is fairly short
see if this flushes out the problem
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|