PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi,
I am trying to load my drop down boxes from an array returned from a function that generates a result set. Is it possible. Using zend core on ibm i db2 database.
print() always returns 1. Therefore, $data will always be 1 or NULL, GetStatus() will aways return 1 or NULL, and $status will always become 1 or NULL.
For GetStatus() to return an array, the code around line 15 needs to be changed to
I am still learning some concepts - all I want to achieve is
1. call the function
2.Take the results in the result set and put them in my drop down box.
It seems easy but I just cant get the desired results.
I am still learning some concepts - all I want to achieve is
1. call the function
2.Take the results in the result set and put them in my drop down box.
It seems easy but I just cant get the desired results.