hello!

>  option1|option2|option3....etc
> i used implode function.
> 
> But how to make in other way ! I mean to get result from Mysql and form to s
> elect it
> 
> I use this .... and i have an array ... but what next ?
>  $wyp = explode("|", $wyposazenie);
> 

I haven't used explode for a while, but I believe it creates an array?

you want to turn the array into an html select box?

that would be this...

<form>
<select>
<?
foreach($wyp as $wyp_value) {
  print <<<HTML
  <option value="$wyp_value">$wyp_value</option>
HTML;
}
?>
</select>
</form>

have fun! I hope I understood the question. =)

Cheers,

Bard


> 
> 
> Thank you for your help.
> 
> 
> Teqilaman -- [EMAIL PROTECTED]
> 
> 
> 

-- 
--
NOWPRINT. NOWPRINT. Clemclone, back to the shadows again.
- The Firesign Theater


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to