Skip to content

Conversation

@W4RH4WK
Copy link
Contributor

@W4RH4WK W4RH4WK commented Jun 14, 2011

added new function: ArrayResults() might have been missing

your php class for mysql communication is very handy, but i recently found something missing..

i tried to get the whole result within an array structure, but ArrayResult only gives me one row. According to your function call ArrayResults (line 172) i assume that such a function should exist,but was forgotten or canceled.

i (re)implemented it, please have a look and merge it if you like it.

added new function: ArrayResults()    might have been missing
@a1phanumeric
Copy link
Owner

Hey,

Thanks for the interest ...there is a function for 'arraying' multiple results. It's called 'ArrayResultsWithKey'. However, I like your function too, which can be used as a faster method for getting all results.

I will merge your pull request now - It might be nice to use one of the two 'Array Results' functions to work off the 'back' of the other, so I'll look to do this down the line.

Thanks!

a1phanumeric added a commit that referenced this pull request Jun 14, 2011
@a1phanumeric a1phanumeric merged commit 0443ab1 into a1phanumeric:master Jun 14, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants