Doubt php, appear image with if?

0

People, I have a table in SQL Server, which has the columns

"pv" "pont" and "enabled"

On the webpage, I will display the table as follows:

Point of Sale | 0 - 1000 | 1000 - 2000 | 2000 - 3000 | 3000 - 4000

Then, I need to configure to follow this rule:

  • If the POA score "A" is 0 to 1000, a PNG image will appear in the "0 - 1000" column (always respecting the punctuation column)
  • If "enabled" from A is "1", then it will be "image 1"
  • If "skillful" from A is "0", then it will be "image 2"

The table will be updated daily.

The server accepts programming language in php or asp (vbscript) And the database is in SQL Server.

Any idea where I start? I know it's an IF, but I do not know how to associate it with the image insertion.

Thank you in advance.

    
asked by anonymous 26.02.2018 / 23:59

0 answers