Mysql problem
#4

First of all, you've created a 256 cell string for no reason. You're selecting everything from that table, you don't need to format a string, you're not formatting a string, you could just directly use
pawn Код:
mysql_query("SELECT * FROM `parkinglot`");
Furthermore, you defined your splitting parameter as '|' yet you're trying to use ',' in sscanf.
Reply


Messages In This Thread
Mysql problem - by Kyle - 03.05.2011, 21:40
Re: Mysql problem - by Georgelopez1 - 03.05.2011, 21:57
Re: Mysql problem - by Kyle - 04.05.2011, 06:27
Re: Mysql problem - by Calgon - 04.05.2011, 07:57
Re: Mysql problem - by Kyle - 04.05.2011, 13:15
Re: Mysql problem - by MadeMan - 04.05.2011, 13:23
Re: Mysql problem - by Kyle - 04.05.2011, 13:25
Re: Mysql problem - by MadeMan - 04.05.2011, 13:29
Re: Mysql problem - by Kyle - 04.05.2011, 13:30
Re: Mysql problem - by MadeMan - 04.05.2011, 13:32

Forum Jump:


Users browsing this thread: 2 Guest(s)