Thanx Zeev,
but guess what ?
it was only me...:(
But this code worx now :)
<tr>
<form method="post" action="./dwvhouse.php">
<td valign="center" align="right">
<select name="huisie">
<?for ($i=0;$i<$c;$i++) {
echo "<option
value='".chop(ltrim($littlelist[$i][0]))."'>".$littlelist[$i][1]."</option>"
;
};?>
</select><br>
<input type="submit" value="view">
</td>
</form>
</tr>
------some output [ press alt-v and then c in ie] the output :--)
<option value='205napier'> 205 Piaza</option>
<option value='13adesmidt'> 13a De Smidt</option>
<option value='19desmidt'> 19 de Smidt Place</option>
<option value='133desmidt'> 13.3 De Smit</option>
<option value='29dixon'> 29 Dixon</option>
<option value='27dixon'> 27 Dixon Street</option>
...
...
...
...
T1 ;-) enjoy the weekend ;
Zeev Suraski <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> It removes trailing spaces. It's not supposed to remove leading spaces.
>
> Zeev
>
> At 16:10 13/7/2001, void wrote:
>
> >$littlelist[$i][1] = " whatever "
> >
> >the command in the subject line doesn't work !
> >
> >it does not get rid of the spaces in the $littlelist[$i][1] var.
> >or is it just me ..?
> >
> >i would like 2 no.
> >
> >thanx
> >
> >
> >
> >
> >--
> >PHP Development 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]
>
> --
> Zeev Suraski <[EMAIL PROTECTED]>
> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/
>
--
PHP Development 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]