PDA

View Full Version : Problem with space on my form


orongo
11-27-02, 12:34
Hi,

I have a problem when a try to modify the DB with a form that i have created. When i ask for the field i get only everything before the sapce but the rest is not there.

here is a exemple;

<input type=text name=rue size=32 value = ".$ligne[ rue ].">

if the variable rue contain : "ilove PHP"
i only get "ilove"
the rest after the space is ignored.

some one know why?

thank you!

JonathanB
12-03-02, 05:55
Try using

<input type='text' name='rue' size='32' value='".$ligne[ rue ]."'>