Re: [PHP] Submit hitting enter problem

2002-11-11 Thread Richard Allsebrook
One point nobody seems to have raised about why its important to quote attribute values ... ? $Value=foo bar; echo INPUT type=text value=$Value; ? will produce the following code in the browser INPUT type=text value=foo bar and renders in the browser (testing in ie6) as a text box containing

Re: [PHP] Submit hitting enter problem

2002-11-11 Thread Jason Wong
On Monday 11 November 2002 17:59, Richard Allsebrook wrote: One point nobody seems to have raised about why its important to quote attribute values ... ? $Value=foo bar; echo INPUT type=text value=$Value; ? will produce the following code in the browser INPUT type=text value=foo bar

Re: [PHP] Submit hitting enter problem

2002-11-11 Thread dwalker
It is a client side browser issue. Which browser are you testing within??? -Original Message- From: rija [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Date: Sunday, November 10, 2002 9:49 PM Subject: [PHP] Submit hitting enter problem What am I missing? My form does not submit when I

[PHP] Submit hitting enter problem

2002-11-10 Thread rija
What am I missing? My form does not submit when I hit enter in the text box. I do something approximately like this : form action=index.php?s=add method=post input type=text name=bongabe value=something ... input type=submit value=submit name=submit // Thanks in advance.

Re: [PHP] Submit hitting enter problem

2002-11-10 Thread Justin French
on 11/11/02 12:44 PM, rija ([EMAIL PROTECTED]) wrote: input type=text name=bongabe value=something I think you need to use a textarea if you wish for the returns to be submitted. Cheers Justin French Creative Director http://Indent.com.au Web Developent Graphic Design

Re: [PHP] Submit hitting enter problem

2002-11-10 Thread rija
: Monday, November 11, 2002 3:45 PM Subject: Re: [PHP] Submit hitting enter problem on 11/11/02 12:44 PM, rija ([EMAIL PROTECTED]) wrote: input type=text name=bongabe value=something I think you need to use a textarea if you wish for the returns to be submitted. Cheers Justin French

Re: [PHP] Submit hitting enter problem

2002-11-10 Thread Jason Sheets
PROTECTED] Sent: Monday, November 11, 2002 3:45 PM Subject: Re: [PHP] Submit hitting enter problem on 11/11/02 12:44 PM, rija ([EMAIL PROTECTED]) wrote: input type=text name=bongabe value=something I think you need to use a textarea if you wish for the returns to be submitted

Re: [PHP] Submit hitting enter problem

2002-11-10 Thread Justin French
on 11/11/02 2:16 PM, rija ([EMAIL PROTECTED]) wrote: Thanks for your quick answer, But it doesn't change anything. textarea change my text box into big text area- So I always have to click on submit button to submit the form. Actually, I miss-read your question... do you WANT the form to

RE: [PHP] Submit hitting enter problem

2002-11-10 Thread John W. Holmes
Thanks for your quick answer, But it doesn't change anything. textarea change my text box into big text area- So I always have to click on submit button to submit the form. So? This doesn't have anything to do with PHP, it's dependant on the browser you are using. IE will do this for you

Re: [PHP] Submit hitting enter problem

2002-11-10 Thread Jason Wong
On Monday 11 November 2002 10:44, rija wrote: What am I missing? My form does not submit when I hit enter in the text box. I do something approximately like this : form action=index.php?s=add method=post input type=text name=bongabe value=something ... input type=submit value=submit

RE: [PHP] Submit hitting enter problem

2002-11-10 Thread @ Darwin
into popularity. Good luck. -Original Message- From: rija [mailto:rija;vatu.com] Sent: Sunday, November 10, 2002 8:45 PM To: php Subject: [PHP] Submit hitting enter problem What am I missing? My form does not submit when I hit enter in the text box. I do something approximately like

Re: [PHP] Submit hitting enter problem

2002-11-10 Thread rija
to put quote because sometimes users enter space. - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 11, 2002 3:33 PM Subject: Re: [PHP] Submit hitting enter problem What happens when ENTER is pressed depends on what browser you're using

Re: [PHP] Submit hitting enter problem

2002-11-10 Thread Khalid El-Kary
well, you are right they may work, but according to the sepcification qoutes should be added, you should follow it, because you don't know the hidden browsers out there which you didn't test, and IE, Opera, NS can't guarantee that they will support this behaviour in future releases

Re: [PHP] Submit hitting enter problem

2002-11-10 Thread David Rice
quote because sometimes users enter space. - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 11, 2002 3:33 PM Subject: Re: [PHP] Submit hitting enter problem What happens when ENTER is pressed depends on what browser you're using. Different

Re: [PHP] Submit hitting enter problem

2002-11-10 Thread rija
- From: Justin French [EMAIL PROTECTED] To: [EMAIL PROTECTED]; php [EMAIL PROTECTED] Sent: Monday, November 11, 2002 4:28 PM Subject: Re: [PHP] Submit hitting enter problem on 11/11/02 2:16 PM, rija ([EMAIL PROTECTED]) wrote: Actually, I miss-read your question... do you WANT the form

Re: [PHP] Submit hitting enter problem

2002-11-10 Thread Jason Wong
On Monday 11 November 2002 13:36, rija wrote: Sure ! But just simple question? Is it necessary to put quotes around these attributes values? Let's put it this way, using quotes will not break any browser. Not using quotes /may/ make your page not work correctly on browsers which implement

Re: [PHP] Submit hitting enter problem

2002-11-10 Thread Jason Wong
On Monday 11 November 2002 14:04, rija wrote: Really big thank to everybody, But, now, I know what happening, because I check form submit using isset($_POST['submit']), so if user don't press submit button, $_POST['submit'] stay null even the rest is already sent. Then my script send me back

Re: [PHP] Submit hitting enter problem

2002-11-10 Thread Charles Wiltgen
David Rice wrote... It's not mandatory to put quotes around attributes, but it would be wise to use this style=recommended method of representing attributes, if for no reason=other than to get used to a habit=good. It is mandatory for XHTML, I believe. -- Charles Wiltgen -- PHP General

Re: [PHP] Submit hitting enter problem

2002-11-10 Thread @ Edwin
Hello, Charles Wiltgen [EMAIL PROTECTED] wrote: David Rice wrote... It's not mandatory to put quotes around attributes, but it would be wise to use this style=recommended method of representing attributes, if for no reason=other than to get used to a habit=good. It is mandatory for