close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Checkout Dynamic drop down list not working

Thread began 4/25/2012 6:33 pm by rgolab68503 | Last modified 4/30/2012 5:06 pm by rgolab68503 | 1087 views | 9 replies


Checkout Dynamic drop down list not working

I am customizing my cart. Basically what is happening is that this cart is in a support section of my site for specific people to use. The checkout form is populated automatically from the session variables created at login. All the text entry fields work fine but when i comes to creating a drop down list connected to the information already in the database it will not recognize the current value which in this case is province = BC.

Any ideas?

Here is the code for the drop down box ...

<select name="state_province" id="state_province" title="<?php echo $row_rsUSERNAME['DealerProv']; ?>">
<option value="" <?php if (!(strcmp("", $row_rsUSERNAME['DealerProv']))) {echo "selected=\"selected\"";} ?>>Chose a Province</option>
do {
<option value="<?php echo $row_rsPROVINCE['ProvAbbrev']?>"<?php if (!(strcmp($row_rsPROVINCE['ProvAbbrev'], $row_rsUSERNAME['DealerProv']))) {echo "selected=\"selected\"";} ?>><?php echo $row_rsPROVINCE['ProvName']?></option>
} while ($row_rsPROVINCE = mysql_fetch_assoc($rsPROVINCE));
$rows = mysql_num_rows($rsPROVINCE);
if($rows > 0) {
mysql_data_seek($rsPROVINCE, 0);
$row_rsPROVINCE = mysql_fetch_assoc($rsPROVINCE);

I know the information is being passed to the page from tests done. I have also attached the checkout page as it sits now.

Thank you for your help.

Further to the above I tested the dynamic drop down in IE and Firefox on my computer and it didn't work. yet on anothe rcomputer in teh office it works fine. I would say it is a setting on my browser but the dynamic menues in the insert and update pages work fine.

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





Ease of use


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...