DarkerAngel Posted February 25, 2008 Share Posted February 25, 2008 darkfreaks I don't think the problem is in the backend PHP, i think it's in the front end handling of the form, PHP results don't change per browser Link to comment https://forums.phpfreaks.com/topic/92875-drop-down-query/page/2/#findComment-476362 Share on other sites More sharing options...
darkfreaks Posted February 25, 2008 Share Posted February 25, 2008 try taking the javascript out Link to comment https://forums.phpfreaks.com/topic/92875-drop-down-query/page/2/#findComment-476365 Share on other sites More sharing options...
yandoo Posted February 25, 2008 Author Share Posted February 25, 2008 Hi Ok cool, this probably sounds totally silly but the drop downs are powered with JS....is it even possible to order records by the option selected in a drop down with out it???? This may sound even more stupid...but should there be some JS code in the head section of my page to support the drop downs??? Thank you Link to comment https://forums.phpfreaks.com/topic/92875-drop-down-query/page/2/#findComment-476369 Share on other sites More sharing options...
DarkerAngel Posted February 25, 2008 Share Posted February 25, 2008 Hi Ok cool, this probably sounds totally silly but the drop downs are powered with JS....is it even possible to order records by the option selected in a drop down with out it???? This may sound even more stupid...but should there be some JS code in the head section of my page to support the drop downs??? Thank you Sorry about the delay, my computer decided to do a Virus Scanner update while I had 800 things open ~.~ but anyways here's a drop down for you thats compatible with IE7 & FF <form name="reorder" method="GET" action="test8.php"> <select name="orderby" onChange="if(this.value != '-') document.reorder.submit();"> <option "-">Select one...</option> <option value="AnimalID">ID</option> <option value="Name">Name</option> <option value="AnimalTypeID">Animal Type</option> </select></form> Link to comment https://forums.phpfreaks.com/topic/92875-drop-down-query/page/2/#findComment-476389 Share on other sites More sharing options...
yandoo Posted February 26, 2008 Author Share Posted February 26, 2008 Hi there, Very BIG Thank You!!! It works perfectly....i think ill try and add this to the tutorial section as it could help any other noobs like me!!! Thank again, its much appreciated Tom Link to comment https://forums.phpfreaks.com/topic/92875-drop-down-query/page/2/#findComment-476928 Share on other sites More sharing options...
Schlo_50 Posted February 26, 2008 Share Posted February 26, 2008 a Link to comment https://forums.phpfreaks.com/topic/92875-drop-down-query/page/2/#findComment-476930 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.