Skip to content
Advertisement

php – html: Different data in each row of a the same column in a table

I want to make a cell’s data different in each row of the same column, according to the value of the $row[‘epilogh’]:

JavaScript

So let’s say that if $row['epilogh'] is ‘A’ I want a form so a file could be uploaded. On the other hand when $row['epilogh'] is ‘B’ I want to have a link there for another page. How can I do this?

Advertisement

Answer

if i understand you correctly, you can do this: just use one td:

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement