Fix bug #3842 Query is not shown when altering a table

Hi,

I have solved the bug, which was related to tbl_sql.php page which was not showing up the queries when user was altering table.

ex.
alter table table_name rename to table_new_name

All alter queries were being fired and the page automatically use to get refresh..and the query was not shown in the query box even after selecting the check box.

I have fixed all the errors, and Now tbl_sql works completly fine..:) 
Thanks