mysql_connect($hostname, $user, $password) or die("µÔ´µèÍ°Ò¹¢éÍÁÙÅäÁèä´é");
mysql_select_db($dbname) or die("àÅ×Í¡°Ò¹¢éÍÁÙÅäÁèä´é");
$sql = "select * from picture where P_id ='0001'";
$dbquery = mysql_db_query($dbname, $sql);
$result = mysql_fetch_array($dbquery);
mysql_connect($hostname, $user, $password) or die("µÔ´µèÍ°Ò¹¢éÍÁÙÅäÁèä´é");
mysql_select_db($dbname) or die("àÅ×Í¡°Ò¹¢éÍÁÙÅäÁèä´é");
$sql = "select * from picture where P_id ='0001' DESC LIMIT 1,3";
$dbquery = @mysql_query($dbname, $sql);