Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given in /home/shp1/www/promote.jp/rewrite.php on line 25

Warning: Cannot modify header information - headers already sent by (output started at /home/shp1/www/promote.jp/rewrite.php:25) in /home/shp1/www/promote.jp/rewrite.php on line 31