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 All! I have two Stored procedures run from two include files shown below. I cant get both of them to work together. Can you see anything wrong with them
i'm getting no errors. Its just not displaying the data. I have two stored procedures. One lists all the records. The other pulls the record by news_id. Both of them create an array from the record sets. Its all up there.
var_dump() the resulting arrays. If they are empty then either your query is returning an empty set, the query is returning an error or is not returning anything.
mad_phpq wrote:I did var_dump on the array and i get array(0) { } for the second include file. And vice versa.
Everah wrote:var_dump() the resulting arrays. If they are empty then either your query is returning an empty set, the query is returning an error or is not returning anything.
I think you may have to reset the result pointer, or unset the result after each procedure call.