~n[EO]n~ Posted October 16, 2007 Share Posted October 16, 2007 Hi, i am using a list box values which I want to preserve in all the pages and save it in Database <select name="select"> <option selected="selected" value="FR">French</option> <option value="EN">English</option> </select> How can I make the value save in a variable so that while user fills the form this value (from the list box) will be saved in db ? Totally confused, any help n suggestions ??? Link to comment https://forums.phpfreaks.com/topic/73440-solved-list-box-values/ Share on other sites More sharing options...
zq29 Posted October 16, 2007 Share Posted October 16, 2007 I'm not sure I follow - Could you re-word your question? Link to comment https://forums.phpfreaks.com/topic/73440-solved-list-box-values/#findComment-370495 Share on other sites More sharing options...
~n[EO]n~ Posted October 16, 2007 Author Share Posted October 16, 2007 Ok, I am making a site in two language , French and English., the client will add contents from admin panel in two language English or French, for that I have made a field in my table named LANG where FR or EN will be saved. So, while the admin enters his login from login.php, i have added a list box (code is in first post) from which the value EN or FR will be passed, What I want is to save the value in a variable so that I can save it in the table (through hidden field), now how shall I make the value to be saved (like global variable) or something like that. That's all .... Link to comment https://forums.phpfreaks.com/topic/73440-solved-list-box-values/#findComment-370496 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.