include("config.php"); function getWords($mysqli) { // do they exist? $sql = " SELECT * FROM tmsBingo WHERE approved = 1 ORDER BY id "; $_result = mysqli_query($mysqli, $sql) or die(mysql_error()); $_row_cnt = $_result->num_rows; return $_result; } $result = getWords($mysqli); ?>
/* */ ?>"; print $_this['word']; print "