Location: PHPKode > projects > Bingo Call System > bingo_bin_win_mac_v090/mysql.php
<?php  
  
function runsql($sql) {  
  
$con = mysql_connect('localhost', 'root', '');  
if (!$con)  
 {  
 die('&err= Could not connect: ' . mysql_error());  
 }  
  
mysql_select_db("bingo", $con);  
  
$result = mysql_query($sql);  
if (!$result)  
 {  
 die('&err= Internal Error: ' . mysql_error());  
 }  
return ($result);  
mysql_close($con);  
  
}  
?> 
Return current item: Bingo Call System