MySQL escape string help
Posted
by gAMBOOKa
on Stack Overflow
See other posts from Stack Overflow
or by gAMBOOKa
Published on 2010-05-11T11:17:42Z
Indexed on
2010/05/11
11:34 UTC
Read the original article
Hit count: 404
I have a pretty large insert statement something like
INSERT INTO multimedia (filename, regex, flag) VALUES (('adsfavr.jpg', '<div id="title">', 0), (...), (...));
How do I prepare the query for MySQL.It's too long to do it manually. It includes double quotes so I can't use the php function mysql_real_escape_string()
© Stack Overflow or respective owner