Good morning. I have had my db converted from Access to MySQL. At the moment, I have found that my topics and replies are not appearing where they were prior to this conversion. No errors, just not seeing my topics and replies where they should be.
I did some searching and read this:
quote:
One mySql does not support "SELECT TOP" they support "LIMIT xx". Second, one of the "AND" conditions did not have a space before it so it was contatinating WHere blahblah=1andblahblah=2 instead of where blahblah=1 and blahblah=2"
This maybe the culprit to my problem? I found a piece of code that I believe is preventing my topics and replies from being displayed. Would someone mind taking a look at this?
This is the code I have that I feel might be the cause of my problem:
And this is the code I found to replace it with to make it work, but its not working:
Any help is greatly appreciated. Thank you.