Posted by Alvaro G. Vicario on 12/17/90 11:54
*** Ian Davies escribió/wrote (Mon, 31 Jul 2006 20:16:50 GMT):
> Hello
> Im using the following loop to populate a list box but I dont want th
> current selected value (from database) to show in the list
> The one I want to omitt is in the variable
>
> $row['bbannerorgfont']
[...]
> for($i = 0; $i < 7; $i++) {
> echo "<option value='".$i+1."'>".$i+1."</option><br>";
> }
if($i != $row['bbannerorgfont']){
echo .......
}
--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--
Navigation:
[Reply to this message]
|