06-05-2010, 07:36 PM
The answer to your question is when you do the query.
As the name of the table of the database is a variable, I have extracted from the query string.
On the other hand I think your code can be improved to prevent SQL Injection attacks, but like everything in PHP so I have a little forgotten.
If you have questions you know that we are about this forum
Recuerda realizar copias de seguridad de tus sitios web. Si este mensaje te ayudó puedes pulsar sobre el botón karma