expression has no effect
#3

Quote:
Originally Posted by sabretur
Посмотреть сообщение
pawn Код:
public LoadCar()
{
  mysql_query("SELECT * FROM `vehicles`");
  mysql_store_result();
  if(mysql_num_rows())
  {
   new
    result[512],
    i = 0;
   while(mysql_fetch_row_format(result, "|"))
   {
    sscanf(result,"p<|>iffffiis[32]s[32]iiii");
    printf("CarInfo: %d Owner:%s", i, CarInfo[i][cOwner]);
    i++;
    mysql_next_row();
   }
   mysql_free_result();
  }
  else print("The table is empty!");
  return 1;
}
does it load whole "CarInfo" from mysql
Reply


Messages In This Thread
expression has no effect - by rati555 - 21.01.2012, 17:33
Re: expression has no effect - by sabretur - 21.01.2012, 17:36
Re: expression has no effect - by rati555 - 21.01.2012, 17:43

Forum Jump:


Users browsing this thread: 1 Guest(s)