The $status variable can be “pending” or “approved” How can I apply standard php if else condition with OR ( || ) AND ( && ) to display as the following
If the $status are **both** pending and approved: display **pending** message
If all $status are pending: display **pending** message
If all $status are approved: display **approved** message
how to display message based on given parameter using php
Aucun commentaire:
Enregistrer un commentaire