i have a sseacrh mode for a mobile phone and i wnat to create the results of query as options so they are selectable, so that when a user selects the option they are taken to that page

how do i do this?? do i use a similar code as:

out.println("<option>"+teamName+"</option>") : deos this code oprint teh values of teh resultset in options

and then if so how do i link the pages in the datasbe to the wml ones, so that if a user enters in inbox the search results disaplyes inbox as an option and then are taking to the inbox.wml page?

Please help, been tryin to figure this out all night!! :cry: :cry:

yest the code u mentioned willprint the value in the variable. now if u want to link each result to a wml page just provide it within the value parameter of the option tag. and then write the code on event of onChange fot the list/combo box,

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.