Skip navigation
Currently Being Moderated

Query was empty - just added if statements?

Apr 6, 2012 11:09 AM

i have added two if stat

 
Replies
  • Currently Being Moderated
    Apr 6, 2012 11:43 AM   in reply to Jonathan Fortis

    Typo in your POST variable.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 6, 2012 12:00 PM   in reply to Jonathan Fortis

    You still have the same typo. There is no $POST variable assigned on your page. You need to use $_POST.

    This is why I hate loosely typed languages.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 6, 2012 12:16 PM   in reply to Jonathan Fortis

    >still same error?

     

    You're getting an error?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 6, 2012 12:43 PM   in reply to Jonathan Fortis

    OK, please post the entire page code. You're probably just missing curly braces or a line terminator.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 6, 2012 12:50 PM   in reply to Jonathan Fortis

    Your new IF statement is missing curly braces. Add them and see what happens.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points