Please help, i'm new.. I tried everything i saw on google about mysql.. nothing worked.. T_T
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/user/public_html/themes/mytheme/main/monthly.php on line 10
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/user/public_html/themes/my theme/main/monthly.php on line 22
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/yser/public_html/themes/my theme/main/monthly.php on line 26
this is what on those lines
Line 10:
$con=mysql_connect($db_host,$username,$password);
Line 22:
$row = mysql_fetch_array($sql);
Line 26:
$row1 = mysql_fetch_array($sql1);
Question
Mikki
Please help, i'm new.. I tried everything i saw on google about mysql.. nothing worked.. T_T
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/user/public_html/themes/mytheme/main/monthly.php on line 10 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/user/public_html/themes/my theme/main/monthly.php on line 22 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/yser/public_html/themes/my theme/main/monthly.php on line 26
this is what on those lines
Line 10: $con=mysql_connect($db_host,$username,$password); Line 22: $row = mysql_fetch_array($sql); Line 26: $row1 = mysql_fetch_array($sql1);
Please help T_T
Link to comment
Share on other sites
2 answers to this question
Recommended Posts