Option Selected from SQL
Posted: Tue Feb 22, 2011 7:15 am
Hello
I just want to know, is it possible to make a <option> be selected according to the value in a mysql database, for example:
i have in my database "month" and its value is "3" and i want the <option> with the same value as the "month" to be selected and the other 11 must still show in the <select> list just the one <option> must be selected. Making sense? Hope so
any help?
I just want to know, is it possible to make a <option> be selected according to the value in a mysql database, for example:
i have in my database "month" and its value is "3" and i want the <option> with the same value as the "month" to be selected and the other 11 must still show in the <select> list just the one <option> must be selected. Making sense? Hope so
any help?