$php_mysql$ Posted July 10, 2011 Share Posted July 10, 2011 hey guys, how can i achieve this? i got these field <select name"abcd"> <option value"0">select place</option> <option value"place1">place1</option> <option value"place2">place2</option> </select> how when a user select either place 1 or 2 i want the page to reload, i know it can be done by javascript but i want it to be done by php and then set the value into session how can i? any help? Quote Link to comment Share on other sites More sharing options...
spiderwell Posted July 10, 2011 Share Posted July 10, 2011 you wont get it done in php as an onclick/change is a javascript trigger. The best you can do i would say is use javascript to trigger the page to post, then the php page you post to can do the session bit. Quote Link to comment Share on other sites More sharing options...
$php_mysql$ Posted July 10, 2011 Author Share Posted July 10, 2011 so ill have to use js? wish there was some way to get it done with php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.