Sscanf not splitting string according to Variables
#7

Quote:
Originally Posted by Vince
Посмотреть сообщение
Oh? Well that attests a very poor table design.
Why? Like this I store 8 Values into one and just split later. It's easier for me instead of adding 8 new columns.

@******, what else to print. Only left is to print Query after mysql_fetch_row

EDIT:
Код:
[21:51:33] Query for slot 1: 346,0.000,0.000,0.000,0.000,0.000,0.000,8,9mm
[21:51:33] Slot: 1 | Obj: 0 | Pos: 0.000000 0.000000 0.000000 | Rotation: 0.000000 0.000000 0.000000 | Bone: 0 | Name: None
[21:51:33] Query for slot 2: 355,0.000,0.000,0.000,0.000,0.000,0.000,1,AK47
[21:51:33] Slot: 2 | Obj: 0 | Pos: 0.000000 0.000000 0.000000 | Rotation: 0.000000 0.000000 0.000000 | Bone: 0 | Name: None
mysql_fetch_row() is good. Query (as string that holds result) is what it should be as seen from log above.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)