query about multiple query

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jito
Forum Commoner
Posts: 85
Joined: Sat Mar 25, 2006 4:32 am
Location: india

query about multiple query

Post by jito »

hi,
is it possible to execute multiple query using a single mysql_query() function.
e.g.

mysql_query(string query1;query2);

if yes then how? and if no then why?
User avatar
Oren
DevNet Resident
Posts: 1640
Joined: Fri Apr 07, 2006 5:13 am
Location: Israel

Post by Oren »

Not as far as I know... http://us2.php.net/manual/en/function.mysql-query.php
You can always write a function that does that :wink:
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

it is not possible.
Post Reply