29.12.2009, 12:34
I got a problem with retreiving string in my mysql DB. I can retreive a string without problem (Log confirm it: 08:26:37] mysql_fetch_row_format(Delimiter: ); Return: "Test") but the problem is the transfer in a variable. Is never show a string. It show a face.....
Here's the part of my script:
Thanks for your help
Greatman
Here's the part of my script:
pawn Код:
new BizzName[500];
format(query,sizeof(query),"SELECT name FROM bizz WHERE id='%i'",i);
mysql_query(query);
mysql_store_result();
BizzName[i] = mysql_fetch_row(line);
printf("Business %s loaded. Owner: %4s",BizzName[i]);
Greatman