mysql_query(1,2,3)

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

mysql_query(1,2,3)

Post by ol4pr0 »

trying to do the following

Code: Select all

$result = mysql_query($query_u,$query_com,$query_a);
error returned
Wrong parameter count for mysql_query()
being a bit lazy lol, i know hehehe.. but i guess there must be a way to do it :)
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

Just do 3 separate queries or see if you can combine the 3 into 1 query.
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

Hmm doing a select with joins i am kinda practicing now, however i have a couple of tables, and rather some information going up..
Post Reply