Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 16 to 16 of 16
01-30-2012, 05:57 PM #16
- Join Date
- Dec 2010
- Thanked 568 Times in 561 Posts
Because you are not creating a failure situation. Your "No results returned" situation is a perfectly normal (successful) situation returning no object.
If you really want to run into a failure, you'll need to change the HTTP status from 200 to something else (maybe 404) using the PHP header function
header("HTTP/1.1 404 Not Found");