Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

letters, numbers and two ==

mysql_query("insert into table1(column1) values (''$queryString");

I am getting values from php $queryString
which only has letters and numbers and two == (at the end)

5445==
t3A2==
545Y==
 

what code do I need to add  to make $querySafe so no injection
and do not want to use pdo
ASKER CERTIFIED SOLUTION
Avatar of gr8gonzo
gr8gonzo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgb192

ASKER

not really a mysql_escape string answer
so I think the best solution (for me at this moment) is the replace