How to modify this chained selects script?

Printable View