Anon
06-28-2000, 04:45 PM
Can someone tell me if this code seems ok. Cause no one can edit their cv on our site. The site is programmed in PHP3. I have no one to help me please help
--------------------------------------------
if (($auth->auth["uid"] == $uid) || ($perm->have_perm("admin"))) {
$results = new CVDB;
$q = "DELETE from cv where rid='$rid'";
$results->query($q);
echo "<h2>Record Deleted</h2>
Please click <a href=\"$HTTP_REFERER\">here</a> to continue searching.<br>";
--------------------------------------------
if (($auth->auth["uid"] == $uid) || ($perm->have_perm("admin"))) {
$results = new CVDB;
$q = "DELETE from cv where rid='$rid'";
$results->query($q);
echo "<h2>Record Deleted</h2>
Please click <a href=\"$HTTP_REFERER\">here</a> to continue searching.<br>";