Computer problems,Computer help
*AX SOFT>>>Programming & Design

Can somebody tell me what the error is in this PHP line?


I keep getting this syntax error and I can't see the problem here is the error:


Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ')' on line 13

And here is the code:

(line 13) if(isset($_REQUEST['agree'], $_REQUEST['firstname'], $_REQUEST['lastname'], $_REQUEST['address'], $_REQUEST['city'], $_REQUEST['state'], $_REQUEST['zip'], $_REQUEST['phone'], $_REQUEST['ssn'] $_REQUEST['email']) && $_REQUEST['agree'])

Can anybody tell me what the error in my code is? I've figured out it's right around the 'state' or 'zip' variables, but I just don't think I have enough experience to figure it out on my own.

looks like your missing a "," after the ssn:

(line 13) if(isset($_REQUEST['agree'], $_REQUEST['firstname'], $_REQUEST['lastname'], $_REQUEST['address'], $_REQUEST['city'], $_REQUEST['state'], $_REQUEST['zip'], $_REQUEST['phone'], $_REQUEST['ssn'],
$_REQUEST['email']) && $_REQUEST['agree'])

$_REQUEST['ssn'] $_REQUEST['email']) <--- needs a comma between them

Tags
  General - Computers & Internet   Software   Security   Programming & Design   Facebook   Flickr   Google   MSN   MySpace
Related information
  • Photoshop. Need help on technique. Example inside.?

    Open any image you need with photoshop, zoom it at size you can edit it, use earser tool to remove the background, finally, duplicate the layer to another new one and change blending options to add...

  • How to make brighter, detailed photos in photoshop for website?

    curves, levels, and better images to begin with... at least more res maybe? the noise you're getting is because the images are too dark/ overexposed.

    ...
  • What is the linux command line for displaying a website?

    The original text-based browser was Lynx. If that's what you mean. I don't know how Gentoo installs software, but downloading (or checking for if it IS installed) is the first step. Then,...

  • I need to enter a string with a decimal to change to a double?

    When you say that Double.parseDouble does not work what exactly do you mean? Print the String before you do the parse. Add a character before and after like System.out.println("#" + ...

  • MS Word - themes & background applied to 1 page only ?

    Hi there, By default Word puts the watermark in the header and also by default the same header on each page of the document. In order to change that, after you have added your watermark to t...

  • How to make a website for free (with very limited knowledge)?

    Free domains do not exist because the company that is selling a domain (e.g. godaddy.com) has to pay VeriSign and ICANN to register your domain. If you really want your own domain I reccomend buyin...

  • Visual Studios 2008 C# question?

    the opacity percent is actually supposed to be a decimal number less than 1. so for 50 percent try object.opacity=0.5f; I think that should work. Regards! -Mr. Bob

    ...
  • What is the best way to make a website, for free, NO MONEY, and it's all online.?

    long term steady income require some patience and dedication.. fast n easy money r mostly scams.. I have been successful with adsense and pretty happy with it till now, Its free to start with so n...

  •  

    Categories--Copyright/IP Policy--Contact Webmaster