Results 1 to 2 of 2

Thread: parse error?

  1. #1
    Join Date
    Jun 2005
    Location
    coronado
    Posts
    76

    parse error?

    I keep getting a parse error from this statement, do you see the error?

    INSERT into company VALUES('',$_POST['company_name'], $_POST['company_description'],
    $_POST['company_state'], $_POST['company_city'], $_POST['contact_name'],$_POST[ 'contact_phone'], $_POST['rationale'], $_POST['poc'], $_POST['contact_title'], '$_POST['contact_email'}, $_POST['priority'])

    Thanks

  2. #2
    Join Date
    Feb 2003
    Posts
    1,048
    Yes, I do. You have an apostrophe immediately before $_POST['contact_email'} and $_POST['contact_email'} ends with a curly bracket instead of a square bracket.

    If you have any further errors to ask about, please include the full text of the error in your post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •