I don't know much SQL, but why don't you make a variable for the SQL, then check it like:
[lua]
<?php
$okay = TRUE;
$sql = "SQL HERE";
if $sql == "$sql {
$okay = FALSE;
}
?>
[/lua]
That may have errors, I just did it off the top of my head. But it may work.
[lua]
<?php
$okay = TRUE;
$sql = "SQL HERE";
if $sql == "$sql {
$okay = FALSE;
}
?>
[/lua]
That may have errors, I just did it off the top of my head. But it may work.