close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Best approach in building online store?

Thread began 7/07/2010 2:07 am by victor405909 | Last modified 7/20/2010 2:07 pm by victor405909 | 1316 views | 7 replies

Eric Mittman

It sounds like you have two master details page sets that you would like to create. The first is for the category then again for the details of a particular item.



link to productCAT.php with id > link to detail page with product id > details page displays info about the product

The first thing to do is to create a recordset on the productCAT.php page that will select all from your table. Then you need to configure the filter, you will filter on the id column, and then specify the value coming form a URL parameter, then enter the name of your URL parameter that you are using in the links to this page. This is all there is to it, with the recordset being filtered on the id in the url parameter the page will only display info about that category of items.

The details page is the same type of thing. You need to first have a recordset that selects the records from your products table. Then you will need to specify a filter for this recordset as well. Like the previous one it will be filtered on a URL parameter. Just specify the id column, then enter the name of the URL parameter. On your category page you just need to link to the detail page with this parameter and the id in it like this:

details.php?id=<your item id>

When you are crafting the links you can add in the ?id= part then for the value use the binding from the recordset for the id. If you have any further questions about this let us know, it might be best to work on a specific aspect of this first before moving onto the other parts.

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