i've used the following code in the past
if ($_REQUEST["newsstory"] != ""){
$row = $_REQUEST["newsstory"];
}else{
$row = $lastNews;
}
The server the site was on has been updated to version 5.1.6 from 4.3.9 and now I get a whole lot of errors.
newsstory is a querystring, previously it was just a case of - if the querystring is blank, use this variable instead (which is defined earlier on). So I'm wondering if there's a way to fix this. I'm really not knowledgeable in PHP, so sorry if the fix seems like it's something obvious.
at the moment I'm using error_reporting(0); and everything works fine on the surface, but of course I'd like to know how to have it work properly.
Cheers.