Help with Joke Database (implementing joke visibility) php &mysql book 5

ok yeah true i set it up just like the book any way i’m off now

thanks for all your help i’m sure i’ll get it right tomorrow

1 Like

I sometimes use a visibility colunm for entities in some of my own projects. The value is either 1 or null and in forms to edit them I use a checkbox input to toggle either on or off. If visible is true, I include the checked attribute on the input, I find that much simpler.

Thanks for all your help i have fixed it it was not the code i wrote but the button i had it connected to. I had to build a new button for it and move it into its own if(isset($_POST['action']) Not what i really wanted but will do for the time till i learn a bit more.

Thank you
Once again

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.