$index\n"; mysql_query($query) or die('Query failed: ' . mysql_error()); } mysql_close(); ?>