I've come up with this: if (mysql_result ( mysql_query ("SELECT id FROM dibcomp_site WHERE id = $page_req"),0)) {$thisid = "404";} else {$thisid = $page_req;} and, well, it doesn't work. I think it really ought to...
I've come up with this: if (mysql_result ( mysql_query ("SELECT id FROM dibcomp_site WHERE id = $page_req"),0)) {$thisid = "404";} else {$thisid = $page_req;} and, well, it doesn't work. I think it really ought to...