So…I made a site in 2012 and it had a MySQL database with tables and whatnot…well, 3 years later, I’m back to revive it, but I totally forget how to fully get it working again.
My question is:
On this page (http://zardians.com/newpost.php) if you just click “Add new post,” it’ll give this error:
[php]Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /home4/namehere/public_html/global.php on line 15[/php]
So I go to my global.php file and this is line 15:
[php]function fetch($query) { return mysql_fetch_row(mysql_query($query)); }[/php]
Here’s the full code:
[php]
^This only shows 12 lines because I took out unneeded spacing^