You have to put quotes around the value or else you won't get anything pass the space.
WRONG: <input type=hidden name=fname_eng value=Bob J.> RIGHT: <input type=hidden name=fname_eng value="Bob J."> -----Original Message----- From: Vlad Kulchitski [mailto:[EMAIL PROTECTED]] Sent: March 24, 2002 3:10 PM To: S; [EMAIL PROTECTED] Subject: RE: [PHP] forms and inputs Hi continuing with the same issue I just found another bug in my code. Basically I have a script myfile.php, based on codition it goes through submit process STEP 1 through 4. It takes along the values it has collected via: <form> <input type=hidden name="name"> </form> And so on, on the final stage it submits everything is has collected to the database. What I noticed now is that if I type name with space, like "Mister Simpson" or again like I mentioned before if I type a sentence in step 2 on the final stage it gets lost. You can check how it works here: http://kulchitski.com/btl/btl.php?lang=eng&page=talkroom_submit If anyone knows how to overcome the problem, please help. Thanks, Vlad -----Original Message----- From: S [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 24, 2002 2:34 PM To: Vlad Kulchitski; [EMAIL PROTECTED] Subject: RE: [PHP] forms and inputs Your input tag should look like this: <input type="text" name="myvariable" value="Hello my name is Vlad"> -----Original Message----- From: Vlad Kulchitski [mailto:[EMAIL PROTECTED]] Sent: March 24, 2002 1:39 PM To: [EMAIL PROTECTED] Subject: [PHP] forms and inputs Hi, Can anyone suggest anything regarding the following problem. Basically, I ask the user to type a few sentences, in <input type=text name=name> and on the next page I show everything s/he typed asking "Are you sure you want to submit this... Once clicked "YES" all data is being taken to the next page for FINAL submission to mysql. (all is done in one php script though) But anyway, the problem is that when I see the final data in the database, there's only 1 word from the sentence the used has typed in, i.e if I submit "Hello my name is Vlad", the only word that will end up in the database would be "Hello". What is the best solution to overcome this? Thanks, Vlad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php