hi ppl!

I have two consequent queries

"select @g1=user  from user_space where connects>10"
and
"select connect_time from connects where user=@g1"

To prevent misunderstanding I say that I don't want to use joining as in
my case tis very slow operation.

My question is:

when I proceed these two queries using mysql_query() I get success
but when I get the result using mysql_store_result() and
mysql_fetch_row() I get the result for the first query.

Does that mean that I need to get both results from server?
If so - can I avoid fetching useless data and skip getting first query
result and get only the next one?

Thanks, Alex


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to