Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
SQL Injection security question
Hi.
I wanted to know if there are any security holes using this query.
mysql_query('SELECT * FROM news WHERE ' . $query);
I try to get informations from other tables or (if possible) even CHANGE values in other tables.
I tried using query=; UPDATE news … or query=– UPDATE news …
but nothing really worked.
Is there any way doing this? Or at least get informations from other tables?
Thanks in advance.