MySQL Forums
Forum List  »  Newbie

Re: Proper syntax for multiple query string
Posted by: Ivan D
Date: May 25, 2005 03:15PM

Yea I thought about the query injection thingy, but there's ways to scan and prevent that (like real_escape_string), and the bonus of being able to do 2 or more queries at once can be pricelessly helpfull.
If i'm absolutely sure the parses won't be of malicious nature, can i turn on multi queries somehow?

Heres some more questions
Howcome phpadmin doesnt care about multi queries?
When you lock a table, does the script that locked it only have access?
What if they terminate before unlocking?
What kind of access do other scripts have, just read?
Are there different kinds of locks?
Is there anyway to do a select and some other query (like UPDATE) and still get the results from the select?

Thanks, again

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.