Dan Shirah 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") {
include ('complete_save.php');
}
?>
The echo of my status_code retruns the correct value so the if should
trigger.
This is my include page:
<?php
echo "test";
?>
VERY simple, but for some reason is not working????
change this line:
if ($_POST['status_code'] = "C") {
to this:
if ($_POST['status_code'] == "C") {
You need 2 equal signs when comparing.
Darren
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php