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!
Begby wrote:order is a reserved word, you will need to use backticks to delimit it. In the future remember that that is a very bad name to use for a field along with other names like select, desc, where etc.
backticks are on the tilda key on the upper left of your keyboard, it should look like `order`='value'
Keep in mind too, that you may want to leave quotes off of integer values. MySQL does not enforce strict typing on data yet, but if it grows up a little more it might. Future versions may require that integers not be cast to string values using the quotes around them.