Re: Include???
| From: | Daniel Brown | Date: | Wed, 23 May 2007 14:31:45 +0000 |
| Subject: | Re: Include??? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-255404@lists.php.net to get a copy of this message | ||
On 5/23/07, Greg Donald <gdonald@gmail.com> wrote:
On 5/23/07, Dan Shirah <mrsquash2@gmail.com> 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