Noob MySQL Question...
hehe, so noob...
When you do a getfield from query in a mysql database... and the data that you retrive in the mysql database is set for an integer, does mysql_getfield keep it an integer or is it a string and i must use str_to_num? |
There is no mysql_getfield. I'm assuming you mean dbi_field. If that is the case...
With two parameters (the result and the field), it returns an integer. With three parameters it returns a Float by reference to the third parameter. With four parameters, it returns a String by reference to the third parameter up to the fourth parameter (maxLength). http://www.amxmodx.org/funcwiki.php?go=func&id=212 |
well i like the ghetto mysql_getfield better... I don't like how baliopan changed it :roll:
|
| All times are GMT -4. The time now is 19:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.