mardi 28 mars 2017

PHP if statement to display colour based on database? [on hold]

Is it possible to create a php if statement that will display a certain colour based on my database?

I want to create a php table that will list all the ports currently open in work. The data will be stored in a MySQL database. Basically if the port is open green will display in the table and if it's not open then red will be displayed.

Is this possible to do in php? Thank you in advance.

Aucun commentaire:

Enregistrer un commentaire