isset problem
Posted: Mon Jul 26, 2010 4:56 am
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
at the moment it only returns the first echo to return.
Is this right or am I off track totally
Cheers
Kev
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 ";}
?>Is this right or am I off track totally
Cheers
Kev