I have this strange problem ..
I am using require function twice in a single program to call two different programs.Each one of them has their own database connections.
The page doesnot execute completely untill I hit refresh.:-/ It works as if those functions are executing one-after-the-other while I use refresh ...till then the HTML parts in the called functions appear but the mysql database values do not appear while leaving blank or previous data values in that place
Do I have to close the database connections at the end of each and every program?
I am getting the desired output only after hitting the refresh each time.
Can someone help me out with this.
Thanks in advance,