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!
My brain caught up finally. I decided to start fresh and turn errors on. The errors pointed out that fields in the query dont even belong to that table. I made a new query and now it's fixed!
I still wonder if the where clause is useful though...
A where clause is useful for any table that has more than one row (which most do). If you do not specify a where, then the entire table updates with the information passed to it.
Not trying to take this too far off topic, but database table design best practices suggest that all tables have a primary key 'id' field of some sort. You may want to look into developing your tables with id fields. All of my tables have them in some capacity.
I only see a use for an id field when you need to put 2 seperate fields together. For a table storing settings though, I dont know how it can be of use.
Guestbook title
Guestbook Logo
Table Width
Disable Posting
Disable BBCode
Disable Quick Post
Location of Quick Post
Turn off Menubar
Location of Menubar
Max comments to show per page
Links instead of images
Turn off IM Fields