php mysql combine queries -


if have 2 mysql_query commands in single php file, way combine them?

for example, have:

$a=mysql_query(select * table1); $b=mysql_query(select id table3); 

but want combine them single mysql_query, more efficient? faster?

multiple queries not supported in mysql_query descripted on php manual, can't combine both query in php mysql_query way here reference php manual notes:

executed multiple queries @ once, mysql_query function return result first query. other queries executed well, won't have result them.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

sql server - python to mssql encoding problem -

windows - Python Service Installation - "Could not find PythonClass entry" -