Skip to content
Advertisement

Can I fetch multiple different SQL statements in one times loop? in PHP

I have to query SQL-SERVER‘s Query and MYSQL‘s Query (That have the same result format but it’s difference database) , But I want to call them in one while loop in PHP, Can I do that?

Ex.

EDITED : I just have an solved answer. It’s work for me Idea from @Drew while(bContinue)

this my code

Thank you for all ideas.

Advertisement

Answer

I just had an answer. It’s working for me Idea from @Drew while($continue)

Here is my code

Thank you for all the ideas.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement