Page 1 of 1

isset problem

Posted: Mon Jul 26, 2010 4:56 am
by kevrelland
Hi,
I want for some text to show if Special Offers is returned from a db query.
I'm not sure if i'm going down the right road, i am using

Code: Select all

<?
$x=.$row_rsCWGetCategories["category_Name"] ==."1"; /
if(isset($x)){     
echo "The variable exists";} 
else{ echo " Variable does not exists ";}
?>
at the moment it only returns the first echo to return.
Is this right or am I off track totally
Cheers
Kev

Re: isset problem

Posted: Mon Jul 26, 2010 5:04 am
by kevrelland
Dooooooooh,
as soon as i went back after posting this, i sorted it
Kev