i put this code in function.php and it work in vb 2.2.5 , and now it can't work in vb 2.2.6
i don't know why . how can i call another database in vb ?
i don't know why . how can i call another database in vb ?
$other_link = mysql_connect("localhost", "dbusername", "pass");
mysql_select_db("other_database");
$other_query = "............ ";
$other_results = mysql_query($other_query ,$other_link);
$others = mysql_fetch_array($other_results);
......
mysql_close($other_link);
............
mysql_select_db("other_database");
$other_query = "............ ";
$other_results = mysql_query($other_query ,$other_link);
$others = mysql_fetch_array($other_results);
......
mysql_close($other_link);
............
Comment