smartglass
IS-IT--Management
Hi:
I am trying to create a drop down list using a 'SELECT DISTINCT' from a table to give me available customers; and then pass the selected customer to a second page that allows me to view the details (address, phone, etc) of that customer.
Am I right in thinking with the second page carrying a 'SELECT * FROM customer WHERE NUMBER = $....' with the array posted after the $?
If I try this I get a blank return . Overwrite the array with a fixed value gives me the results expected.
Could somebody please advise me of how to pass the array across to the new page, and incorporate it in my SELECT statement? I must be doing something basically wrong!
I am trying to create a drop down list using a 'SELECT DISTINCT' from a table to give me available customers; and then pass the selected customer to a second page that allows me to view the details (address, phone, etc) of that customer.
Am I right in thinking with the second page carrying a 'SELECT * FROM customer WHERE NUMBER = $....' with the array posted after the $?
If I try this I get a blank return . Overwrite the array with a fixed value gives me the results expected.
Could somebody please advise me of how to pass the array across to the new page, and incorporate it in my SELECT statement? I must be doing something basically wrong!