close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Drop Down List Not displaying all the dynamic options

Thread began 12/12/2009 4:57 am by John Langer | Last modified 12/12/2009 9:39 am by John Langer | 997 views | 1 replies |

John LangerBeta Tester

Drop Down List Not displaying all the dynamic options

I'm attempting to modify the users_Registration_Simple.php page by adding a drop down option to choose a country.

I've been trying to solve this for two days now and it's totally baffled me.

If you go here you can see the page in operation.

The Country dropdown should give a list of two countries (UK and US) which are taken from a recordset. As you can see it only lists the UK. As an aside I have, when experimenting, added several other countries to this list and it always only shows the UK even when the UK is not first in the list in the MySql database.

The list below (Region) displays fine as you can see.

At the bottom of the page is an error that says:
Warning: mysql_free_result(): 25 is not a valid MySQL result resource in /home/wltmdati/public_html/testing/users_Registration_page.php on line 432

Line 432 is: "mysql_free_result($rsCountry);"

I think this is related to the URSP because on a completely new page here the two options (UK and US) show as they should. So there must be something in the URSP page that is causing this.

Does anybody have any idea what the solution might be? I'd be most grateful of a pointer in the right direction.

Sign in to reply to this post

John LangerBeta Tester

Solved

It's OK, solved it myself.

On the same page as part of the DW template I have a search box which pulls in, with a PHP include, a form from elsewhere. In this file is a recordset with the same name (rsCountry). As soon as I changed the recordset name it worked.

Simple as that. It's always the simple things... :)

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...