Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/ac/public_html/gallery.php on line 28

    Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /home/ac/public_html/gallery.php on line 28

    Warning: mysql_query(): A link to the server could not be established in /home/ac/public_html/gallery.php on line 28

    Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/ac/public_html/gallery.php on line 29

    Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/ac/public_html/gallery.php on line 30