Hi cbj,
I figured I would need to elaborate some more.
I have 2 tables because the 1 table gb_banip_students, holds the IP address of any user we 'Ban' from posting after they have posted inapropriate info. This is a table that several 'guestbooks' use. It only has 2 fields (ID) and (IP). I need to add a new entry to this when I ban somone and want to use my 'New admin HTML form' that I am writing (yes, you are correct, it is an html form, with php added).
The 2nd table is the actual guestbook, gbook_students, holds the posts that the user makes and I an itterating thru a lookup to get all the records and display them in my HTML form.
Here is a demo of what I am trying to pull off... My demo HTML only form sample.
Basically, until the 'powers that be' allow me to drop this guestbook and use something with better 'SPAM' control, like phpBB, I need to purge the obscene posts. They currently have an admin page, but it is cumbersome, go to the posts, copy the IP address, hit delete, say 'Yes', hit ban IP, paste address, submit, say yes, start over. This is a pain to get rid of dozens of posts overnight.
I wanted a simple table with all posts, IP, name, and comments to purge/ban dozens of them at once.
Does that make more sense?
I have the php semi written, but did not want to write it all only to find I went down the wrong path and start over. I thougt I could get some direction and do it correct the first time.
Thanks for helping,
Don