Yay!
it was
if (record_exists_sql($query) {
...
...
w00t!
General developer forum
database query
This discussion has been locked so you can no longer reply to it.