Hello, Trying to author my own PHP database table back up utility. A very simple one at that...
Here's my sql statement to select everything in the table: $sql_daily = "SELECT * FROM dailytable"; $run_sql_daily = mysql_query($sql_daily); $result_sql_daily = mysql_fetch_array($run_sql_daily); Here's the code for showing me whats in the result array: for ($count_daily=0; $count_daily < count($result_sql_daily); $count_daily++) { echo "<p>"; echo "$result_sql_daily[$count_daily]"; } exit; Does anyone out there know why it only prints one line of the table? It's a line in the middle of the table, it's not the first line, it's not the last line, it's in the middle of about 25 lines. Is this not the proper way to back up tables in a database? I'd like a back up copy of my tables on CD-ROM and I thought once this prints out correctly I'd just have it print to a text file and then place the text file on a cd.... Thanks, Roger -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php