View Single Post
  #5  
Old 06-20-2010, 08:42 PM
SNK2713 SNK2713 is offline
Member
 
Join Date: Jun 2010
Posts: 3
Credits: 705
SNK2713
Default RE: Cannot Connect to MySQL Error

Ah okay, thanks, BMR777. I'll go ask them then.

EDIT: I contacted the HelpDesk at 000webhost, and they basically said I should use a different FTP, so I did.

I'm still getting those other two errors though. I know that I'm supposed to fill out some information somewhere, but I'm not sure what exactly.

Error 1:
Quote:
Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/a1916460/public_html/adoptables/inc/functions.php on line 183
PHP Code:
// We will be getting our links from the database...
 
$links "";
 
    
$query "SELECT * FROM ".$prefix."links ORDER BY id ASC";
    
$result mysql_query($query);
    
$num mysql_numrows($result); 
Error 2:
Quote:
Warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty in /home/a1916460/public_html/adoptables/index.php on line 80
PHP Code:
$template file_get_contents($file); 
Reply With Quote