Some ideas for the SQL query thing:
- If you run a select and it returns no data, return a "No data found" message.
- Center the returned values
A bug:
SELECT * FROM #__online;
update #__online set user_id=user_id;
This returns the select and then, at the bottom, gives the queries that have been run (both).
update #__online set user_id=user_id;
SELECT * FROM #__online;
This only returns the select, it doesn't list the queries done.
And something that should be clarified:
SELECT * FROM #__online where user_id = 3
entered works fine
SELECT * FROM #__online where user_id = 3
SELECT * FROM #__online where user_id = 3
gives SQL Error
SELECT * FROM #__online where user_id = 3;SELECT * FROM #__online where user_id = 3;
Executes both queries.
You should mention that if you want to run multiple queries you need to add a ; to the end of each query