[snip]
> $optimizeTableQuery = mysql_query("OPTIMIZE TABLE
> '".$tableName."'");
[/snip]Take the single quotes away from the table name. http://dev.mysql.com/doc/refman/4.1/en/optimize-table.html Make sure they are the right kind of tables. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

