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

2005-10-20 Thread Ford, Mike
On 19 October 2005 19:24, Jay Blanchard wrote: > [snip] > "normal"}?>" id="firstname" name="firstname" type="text" value=" echo $_POST['firstname'] ?>"> > > how would I fix this error? > [/snip] > > You are missing several semi-colons; > > "normal";}?>" id="firstname" name="firstname" type

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

2005-10-19 Thread Jay Blanchard
[snip] I now have: * First Name: " id="firstname" name="firstname" type="text" value=""> You added one too many, change $_POST["firstname";]; to $_POST['firstname']; " id="firstname" name="firstname" type="text" value=""> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

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

2005-10-19 Thread Bruce Gilbert
I now have: * First Name: " id="firstname" name="firstname" type="text" value=""> but I still receive the same 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/Con

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

2005-10-19 Thread Jay Blanchard
[snip] " id="firstname" name="firstname" type="text" value=""> how would I fix this error? [/snip] You are missing several semi-colons; " id="firstname" name="firstname" type="text" value=""> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

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 * /hsphere/local/home/bruceg/inspired-evolution.com/Contact_Form.php

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*/ > > $f

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 So try this : replace from the with this /* * Do all the logic BEFORE the form layou

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*/ About You * First Name: " id="firstname" name="firstname" ty

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

2005-10-18 Thread Minuk Choi
Can you post your Contact_Form_test.php? " id="firstname" name="firstname" type="text" value=""> should parse into HTML by PHP. This block, I am assuming is placed in a HTML tag and not in a Minuk, your revisions gives me an error: *Parse error*: parse error, unexpected T_ENCAPSED_AND_WHITESP

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.php * on line *63* -Bru

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:

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

2005-10-17 Thread Minuk Choi
Wait a minute... you meant { echo "input.error"; } else { echo "input.normal"; } ?>" id="firstname" name="firstname" type="text" value=""> ...or am I looking at the wrong thing? Bruce Gilbert wrote: -- Forwarded message --

[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: > --