Sam Laundon Posted February 26, 2005 Share Posted February 26, 2005 Can any one explain the syntax for the use of "if" and "else" with php. An example would be to show on a php page a check box and text if a field in the database is no and show no check box and text if the field in the database is yes. An example in my database is a client who receives prints with their new order (send_print field = yes) and another client who does not receive prints with a new order (sent_print field = no). For the client who does not automatically receive prints I would like the php to show a check box and some text. For the client who automatically receive prints I would like nothing to show on the php page. Thanks in advance for your help - Sam Link to comment Share on other sites More sharing options...
This topic is 6595 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now