Is there any way to do this in PHP (or with a combination of JS)?

Printable View