SELECT box

From: Date: Mon, 11 Dec 2000 23:08:04 +0000
Subject: SELECT box
Groups: php.general 
Request: Send a blank email to php-general+get-29765@lists.php.net to get a copy of this message
hi i create a dinamic select box from DB with this piece of code ... for ($i=0; $i<$num; $i++) { $r = pg_fetch_row($result, $i); $vrstica=''; for ($j=0; $j<(count($r)-1); $j++) { $vrstica = $vrstica . $r[$j]; } $data1=substr($vrstica,0,3); echo("<OPTION VALUE=$data1>$vrstica"); ... with this i try to get some usefull value from selection for further work but from minute to minute it seems more fun to me :) any tip? thnx

« previous php.general (#29765) next »