You are here: Re: sending flash variable to php file « All PHP « IT news, forums, messages
Re: sending flash variable to php file

Posted by WhiteJediGuy on 06/08/05 04:48

I have for the actionscript on go_btn:
on(release){
go_btn.onClick = function()[
getURL('http://catalog.playersmusic.com/catalog/search.php?q='+search.text,
_self);
}
}

For some reason though it does not work. If I put quotes around +search.text
it puts a search in for search but not what the person typed. Such as
http://catalog.playersmusic.com/catalog/search.php?q=search
Also, for some odd reason, it is replacing, "Search Here" in the input box
with level0 stuff.
And I thought "GET" was suppose to be somewhere in the syntax.. Thanks

> If i'm right, forget about the LoadVars, it's not what you want.
> (I'll pretend you called your go button go_btn):
>
> go_btn.onClick = function(){
> // You can add some sort of form validation code here
>
> getURL('http://catalog.playersmusic.com/catalog/search.php?q='+search.text,
> _self);
> }
>
> This would bring your visitors to search.php?q=(what was in the flash
> input box)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация