include "left.php"; ?> $dbhostname = "localhost";// host $dbusername = "j2h"; //user $dbuserpass = "love";// //password $dbname = "house"; //database $table="roomer"; $table2="roomer2"; $tablefree="housefree"; $mastertable="housemaster"; $membertable="housemember"; $membertablebackup="memberbackup"; $moneytable="money"; $roomertable="roomer"; $backup="roomerbackup"; $backup2="roomerbackup2"; $roomertable2="roomer2"; $booktable="guestbook"; $booktable2="guestbook2"; $goodtable="good"; $tablecolor="#E1E1E1"; $limit = 30; $conID = @mysql_pconnect($dbhostname, $dbusername, $dbuserpass) or die ("資料連結錯誤"); mysql_select_db( "$dbname",$conID); //$isload =1; //判別是否被呼叫過 ?> You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'where j2h21='' and area=''' at line 1