RE: [PHP] re: some problems with php form

2005-10-20 Thread Ford, Mike
On 19 October 2005 19:24, Jay Blanchard wrote: [snip] input class=?PHP if ($error_msg) {echo error} else {echo normal}? id=firstname name=firstname type=text value=?php echo $_POST['firstname'] ? how would I fix this error? [/snip] You are missing several semi-colons; input

Re: [PHP] re: some problems with php form

2005-10-19 Thread Bruce Gilbert
Mike and all, guess I still have something wrong as I am getting this error: *Parse error*: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in *

RE: [PHP] re: some problems with php form

2005-10-19 Thread Jay Blanchard
[snip] input class=?PHP if ($error_msg) {echo error} else {echo normal}? id=firstname name=firstname type=text value=?php echo $_POST['firstname'] ? how would I fix this error? [/snip] You are missing several semi-colons; input class=?PHP if ($error_msg) {echo error;} else {echo normal;}?

Re: [PHP] re: some problems with php form

2005-10-19 Thread Bruce Gilbert
I now have: plabel for=firstnamespan class=red*/span First Name: /labelbr / input class=?PHP if ($error_msg) {echo error;} else {echo normal;}? id=firstname name=firstname type=text value=?php echo $_POST[firstname;]; ? /p but I still receive the same error: ' *Parse error*: parse error,

RE: [PHP] re: some problems with php form

2005-10-19 Thread Jay Blanchard
[snip] I now have: plabel for=firstnamespan class=red*/span First Name: /labelbr / input class=?PHP if ($error_msg) {echo error;} else {echo normal;}? id=firstname name=firstname type=text value=?php echo $_POST[firstname;]; ? /p You added one too many, change $_POST[firstname;]; to

Re: [PHP] re: some problems with php form

2005-10-18 Thread Bruce Gilbert
Minuk, your revisions gives me an error: *Parse error*: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in * /hsphere/local/home/bruceg/inspired-evolution.com/Contact_Form_test.phphttp://evolution.com/Contact_Form_test.php * on line *63*

Re: [PHP] re: some problems with php form

2005-10-18 Thread Minuk Choi
Can you post your Contact_Form_test.php? input class=?PHP if ($error_msg) { echo input.error; } else { echo input.normal; } ? id=firstname name=firstname type=text value=?PHP echo $_POST['firstname'];? should parse into HTML by PHP. This block, I am assuming is placed in a HTML tag and not in

Re: [PHP] re: some problems with php form

2005-10-18 Thread Bruce Gilbert
I think so Minuk. Here is the *entire* form code below. Maybe someone can also point out why the email regex validation code isn't working? TIA /begin PHP form code*/ ?php $form_block=END_FORM form method=post

Re: [PHP] re: some problems with php form

2005-10-18 Thread Minuk Choi
Seems like you're using some sort of a template or something. I am not familiar with this type, so I'm afraid I can't be of much help... but if i had to guess, it seems that you have to use {} instead of ?PHP and ? So try this : replace from the ?PHP line down to the

RE: [PHP] re: some problems with php form

2005-10-18 Thread Ford, Mike
On 18 October 2005 15:50, Bruce Gilbert wrote: I think so Minuk. Here is the *entire* form code below. Maybe someone can also point out why the email regex validation code isn't working? TIA /begin PHP form code*/ ?php

[PHP] re: some problems with php form

2005-10-17 Thread Bruce Gilbert
-- Forwarded message -- From: Richard Lynch [EMAIL PROTECTED] To: Mark Rees [EMAIL PROTECTED] Date: Mon, 17 Oct 2005 15:12:50 -0500 (CDT) Subject: Re: [PHP] Re: a couple of problems with PHP form On Mon, October 17, 2005 5:32 am, Mark Rees wrote:

Re: [PHP] re: some problems with php form

2005-10-17 Thread Minuk Choi
Wait a minute... you meant input class= ?PHP if ($error_msg) { echo input.error; } else { echo input.normal; } ? id=firstname name=firstname type=text value=?PHP echo $_POST['firstname'];? ...or am I looking at the wrong thing?

Re: [PHP] re: some problems with php form

2005-10-17 Thread Chris
Bruce Gilbert wrote: -- Forwarded message -- From: Richard Lynch [EMAIL PROTECTED] To: Mark Rees [EMAIL PROTECTED] Date: Mon, 17 Oct 2005 15:12:50 -0500 (CDT) Subject: Re: [PHP] Re: a couple of problems with PHP form On Mon, October 17, 2005 5:32 am, Mark Rees wrote: