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

Database Help

Thread began 8/06/2012 6:37 pm by reiter303441179 | Last modified 9/02/2012 1:20 pm by reiter303441179 | 2978 views | 43 replies


Chris, I used only the search code from above and changed it to fit my recordsets and the manufacturers will populate but nothing happens when they're click on. The page acts like it reloads but the products don't change. Here is the code I have:

<table width="200" border="0" cellpadding="0" cellspacing="0" class="forms">
<td width="200"><form method="post" name="filterform">
<input name="WADbSearch1" type="hidden" value="search">
<select name="ProductManufacturerID" class="input-med" id="ProductManufacturerID" onChange="document.filterform.submit();">
do {
<option value="<?php echo $row_WADAProductManufacturerID['ManufacturerID']?>"<?php if (!(strcmp($row_WADAProductManufacturerID['ManufacturerID'], (isset($_GET["ProductManufacturerID"])?$_GET["ProductManufacturerID"]:"")))) {"selected=\"selected\"";} ?>><?php echo $row_WADAProductManufacturerID['ManufacturerName']?></option>
} while ($row_WADAProductManufacturerID = mysql_fetch_assoc($WADAProductManufacturerID));
$rows = mysql_num_rows($WADAProductManufacturerID);
if($rows > 0) {
mysql_data_seek($WADAProductManufacturerID, 0);
$row_WADAProductManufacturerID = mysql_fetch_assoc($WADAProductManufacturerID);

Any ideas on what may be the issue with it not updating to just the manufacturer selected? Some of the code was from my search page since I can search by the manufacturer just fine. Also, anyway to just show the manufacturers in the list that have products pertinent to the category being viewed? Right now it lists all the manufacturers that are in the database.

*Edit: the search function now works, I must have been skipping a step from your mini tutorial Chris. I started over following your tutorial and now it works just fine. Now I just need to figure out how to edit the manufacturers to choose from as stated in the sentence above.


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