Hi, Ive only been working with PHP since the weekend, and so far im pretty happy with myself. Ive built a rough CMS using PHP and MySQL for a University project. It can add, edit and delete pages, as well as set "Published" or "Draft" status for each page. This is where the problem lies. Im using a checkbox to set the Published status, which sets the value to 1 or 0 in the DB. The following code gets the current status of the page and displays the checkbox, ticked or not depending on the status. [code] <? if ($islive) { echo "<input type='checkbox' name='ud_islive' value='0' checked />"; } else { echo "<input type='checkbox' name='ud_islive' value='1' />"; } ?> [/code] Problem here is that if the page is Published, when being edited, no matter what you do its set to Draft when saved. I can be set to Published again but it sure is anoying. You can try it out here. But PLEASE dont go nuts with the editing. (also note, this is 2 days work from someone who hasnt even attempted PHP before so be kind!) [a href=\"http://digimed.chrisgunton.com/admin/\" target=\"_blank\"]http://digimed.chrisgunton.com/admin/[/a] Any help with this would be greatly appreciated, as my brain is starting to ache!