You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
i write the code as you said:select distinct HGNo from dbo.HGinf
but the page just shows the packground and nothing else and when i write it like this:
select * from dbo.HGinf it shows the page crrectly.
SELECT * retrieves all columns and all records from the database.
select distinct HGNo selects all unique values for the column HGNo
However, with the latter statement, you're not selecting other columns than HGNo. I take it your code does require these columns.
Do you get an error? Do you see a (hidden) error when you look at the source of the page in the browser?
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
hello again.i still have problem with my page.i don't want to have repeated value in database in my child select menu and when i use distinct for my child select menu it doesn't show me anything just page background and nothing else.even it doesn't show images.what should i do.help me please
thank you