Hello
Heres the thing u want
assuming u are connected to mysql.
$sql1="create table mandar (name varchar(20);
$sql2="create table mandar (name1 varchar(20);
$queryArr=array("$sql1","$sql2");
foreach($queryArr as $values){
@($values);
}
Cheers this will work for You.
If possible mail me with feedback.
Mandar Kelkar