Profile
Achievement
sorehead's Recent SnippetsTagged mysql
- All /
« Prev 1 Next »
Simple but utilitarian function returns a numeric array of associative arrays containing an entire result set.
1
1127
posted 18 years ago by sorehead
This function first checks to see if PHP is set to automagically quote stuff. If it is, we first strip pre-quoted stuff, then (assuming our text isn't numeric), we properly quote everything.
A good bit of room for improvement here, but at the very l...
1
731
posted 18 years ago by sorehead