MySQL - mysql_fetch_array?
#2

It's a little more complicated in Pawn than it is in PHP. You would use mysql_fetch_row to - as the name implies - fetch an entire row. Then use a string splitting routine (like sscanf) to arrange the data in the designated variables. You can then use those variables for whatever purpose you'd like.
Reply


Messages In This Thread
MySQL - mysql_fetch_array? - by jamiesage123 - 14.01.2012, 23:26
Re: MySQL - mysql_fetch_array? - by Vince - 14.01.2012, 23:59
Re: MySQL - mysql_fetch_array? - by jamiesage123 - 15.01.2012, 00:21

Forum Jump:


Users browsing this thread: 1 Guest(s)