Hi, I have a simple query that I can't for the life of my get to print out on my page:
$results = mysql_query("SELECT * FROM andyasks ORDER BY date");
$test = mysql_fetch_array($results, MYSQL_BOTH);
foreach ($test as $row){
print($row[questions]);
}
What this outputs is (unpredictably, to my eyes) just the first letter of each table field, for just the first two rows. So a 75 row table x 5 columns should show 75 "questions" lining up, but instead it shows "00WWFFAA00" which is the first letter of each cell of the first two rows. What's going on?