On 5/23/07, Greg Donald <gdonald@xxxxxxxxx> wrote:
On 5/23/07, Dan Shirah <mrsquash2@xxxxxxxxx> 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