Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

if isset parse error (curly brackets) 1

Status
Not open for further replies.

jlockley

Technical User
Nov 28, 2001
1,522
US
What, please, am I doing wrong here?

if (isset($_POST[first])){
$first = $_POST[first];}
else
{$first = xxx;}

this yields:
Parse error: syntax error, unexpected '{' in /home/jll/public_html/formprocess.php on line 22

I am perplexed.

 
I apologize, but I can't find any information on "end quote".

do you mean $_POST["first"] ?

Sorry, but I'm a little confused.
 
not end quote. enquote = 'surround in quotation marks'

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top