On Wed, May 23, 2007 9:24 am, 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']; Perhaps there is some whitespace before/after the 'C'... echo "'$_POST[status_code]'<br />\n"; You should then see some whitespace inside the '' so you'll know it's there. This is a VERY good debugging technique to adopt. :-) > if ($_POST['status_code'] = "C") { echo "GOT HERE!<br />"; This can distinguish between 2 possible issues: Your business logic about "C" or the include "not working" > 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???? Also be sure you have error_reporting(E_ALL) set, so you are seeing any errors. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php