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!
HI guys I am trying to figure out how to show the box is checked or not checked from the data base I am trying to use the if and else statement here is the code which obviously doesn't work
The problem is that some of this is html code and I can't figure out how to correct it for php if this worked if the value equals yes it would show it checked otherwise N would show it unchecked.
Last edited by Cateyes on Wed Jul 07, 2004 11:31 pm, edited 1 time in total.
Not sure I understand your response. The database has a Y or N response how do I use your suggestion if the DB responds with Y I want the box to show its checked otherwise it would be unchecked.