Menu
If I’m selecting a row that has a specific property1 and property2, but that row does not exist…….
Can I put this:
[code=php]
$sql = mysql_fetch_array(mysql_query(“SELECT property3 FROM table WHERE table.property1 = ‘blah’ AND table.property2 = ‘blah2’;”));
if(“Empty Nested Set”!=$sql) {
do this if it does exist }
else {
do this if it doesn’t exist }
Would that work? Thanks in Advance!