(I'm assuming this is the cause for YOUR problem, since it was the cause for mine...)
Find this in links.php:
PHP Code:
// #################### Do Add New ####################
if ($HTTP_POST_VARS['action']=="doaddnew") {
$result = mysql_query("INSERT INTO gportal_weblinkslink (catagoryid, linkname, linkurl, linkdesc)
VALUES ('$catid', '$linkname', '$linkurl', '$linkdesc')");
eval("dooutput(\"".gettemplate('drkslinks_doneaddlink')."\");");
}
Change it to:
PHP Code:
// #################### Do Add New ####################
if ($HTTP_POST_VARS['action']=="doaddnew") {
$result = mysql_query("INSERT INTO gportal_weblinkslink (catagoryid, linkname, linkurl, linkdesc)
VALUES ('$catid', '".addslashes(htmlspecialchars($linkname))."', '$linkurl', '".addslashes(htmlspecialchars($linkdesc))."')");
eval("dooutput(\"".gettemplate('drkslinks_doneaddlink')."\");");
}
That should work...