$conn = mysql_pconnect($hostname_conn, $username_conn, $password_conn) or die(mysql_error());
<?php
$query_rsad2 = "SELECT * FROM i_ad WHERE xuhao<=100 and xuhao >=1 order by xuhao desc";
$rsad2 = mysql_query($query_rsad2, $conn) or die(mysql_error());