On 23/05/07, Dan Shirah <[EMAIL PROTECTED]> wrote:
Okay, I think I'm doing everything right, but for whatever reason my include
isn't working.
if ($_POST['status_code'] = "C") {

It's a pretty classic error, Not one that I make very often though -
because I will generally write:

if ('C' = $_POST['status_code']) {

If I wrote that, it would fail instantly - because you can't assign to
a constant, so you use double - or triple, as appropriate - equals.
  if ('C' == $_POST['status_code'])

Alister

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to