Downloads

 

MySQL returns strings…or does it?

I noticed an interesting fact yesterday, which pertains to my original post MySQL returns strings (if you have not read this yet, please do). The PHP function mysql_num_rows(), which returns the number of rows in a result set, I assumed would return the number of rows as a string. Since field values are [...]

MySQL returns strings

This is a feature I have run into a few times (specifically when writing the unit tests for the Mysql Package). I thought I would post my thoughts and hopefully others will be able to expand on the topic.
When querying data out of MySQL into PHP, all values arrive in PHP as strings, even if [...]

Improve the web with Nofollow Reciprocity.