I need to have a php script that runs the "optimize table <tablename>" query. How do I return the results to be displayed on a html page.
from the optimzie command?
yes. I believe it returns at least an "ok" if it processed successfully
try using mysql_affected_rows($link_id); ??? look up mysql in the manual here and scan all the functions, i usally find what i am looking for!