On 5/23/07, Greg Donald <[EMAIL PROTECTED]> wrote:

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

== not =


--
Greg Donald
http://destiney.com/

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


   Greg is absolutely correct, Dan.  When using an equal operand in an if()
clause, you have to use double equal signs ( == ).  The single equal signs
are for setting variables, not evaluating a statement.

--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

Reply via email to