(mysql) Select 5 random houseid's without calling the query 5 times?
#4

pawn Код:
new szLine[120]; // though you'll probably need a ridiculous size for the line
while(mysql_retrieve_row_format(szLine)) {
 // do your magic with sscanf here
}
while will execute for every result it retrieves, so 5 if you limit your query to 5.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)