![]() |
<select> a chosen row from tabel
Hello!
My scripts should <selected> the row from the table where spil='$_REQUEST["spil"] and then show the rest of the rows beneath, but it just <selected> the same row every time. Please help! PHP Code:
|
echo out the two variables in your if statement to see what's going on. Make sure they are what you think they should be.
|
Also, the correct tag with the selected attribute looks so:
Code:
<option value="some value" selected="selected">text to show</option> |
| All times are GMT. The time now is 10:11 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0