OK, I went to edit an article and got this error message:
Quote:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /public_html/forum/admin/vbArticlesadmin.php on line 234
|
I already did the changes the dontpanic had listed on page previous pages.
if ($action=="editarticle") {
$sql = "SELECT * FROM vbArticles_content WHERE artid=$artid";
$result = mysql_query($sql);
$myrow = mysql_fetch_array($result);
$artid=$myrow["artid"];
$title=$myrow["title"];
$byline=$myrow["byline"]; ----> this is line 234
$author=$myrow["author"];
$date=$myrow["date"];
$content=$myrow["content"];