Help with PHP enums (not exactly enums but..)
#9

Quote:
Originally Posted by Vince
Посмотреть сообщение
The whole point of using fetch_assoc is to not use that kind of stuff. Just assign the result to whatever array you need. Then simply access the index you need by the same name that you use for the field in MySQL.
http://be1.php.net/manual/en/functio...etch-assoc.php
Totaly true, I know there was a function for that, but I just didn't know it was called like that lol.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)