M
myopic_chaos
Guest
At work, I have a PHP page- has multiple queries on it. The queries build tables on a do/while loop- pretty basic stuff.
The thing is, is that the table will build, the page display- but the data is sometimes bad- it's EMPTY, as if the SQL was not done running when the page finished loading. If I refresh the page- the correct data displays. It doesn't always happen, but it does- and this will cause problems, I can't allow this to load and LOOK like correct data, when it's missing information.
Any suggestions. I'd rather it be blank then bad data.
Let me clairify- not 100% empty- SOME data is there- but not all. When I refresh, it all comes back
The thing is, is that the table will build, the page display- but the data is sometimes bad- it's EMPTY, as if the SQL was not done running when the page finished loading. If I refresh the page- the correct data displays. It doesn't always happen, but it does- and this will cause problems, I can't allow this to load and LOOK like correct data, when it's missing information.
Any suggestions. I'd rather it be blank then bad data.
Let me clairify- not 100% empty- SOME data is there- but not all. When I refresh, it all comes back