close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PHP / MySQL problem

Thread began 5/23/2009 1:31 am by CraigR | Last modified 5/26/2009 1:02 pm by CraigR | 1647 views | 2 replies |

CraigRBeta Tester

PHP / MySQL problem

I am building a test site to allow local artists to display and sell their products
I have an items table with description, imageurl etc.
At the moment, I have a simple structure, with price stored in the image table.
At present, my data is presented as in the attachment, with the price displayed below each image, data coming from the same recordset.
I am intending to have several price options per item, so have created a price table, linked to the item table by item id. Pretty straightforward so far.
I then produced a recordset linked to the price table, so for some items, I get multiple rows, which is what I would expect.
How I would like to present my data, is an image list as now, with the price options below, presented in a list.
This should be fairly straightforward, but I can’t work out the next step.
I am awaiting my ‘moment of clarity’.

Sign in to reply to this post

Ray BorduinWebAssist

I can't quite figure out where you are stuck. Do you click on the image you want to purchase from here and you don't know how that page would look?

I guess I'd need a moment of clarity to help. I see a screen shot and a question of what's next. With a description of a whole bunch of stuff you seem to have done successfully. I just don't know where to go either.

Sign in to reply to this post

CraigRBeta Tester

clarity

Hi Ray, sorry for not being clear.

The image represents data from a recordset with 1 row (and price) per image.

I would like to have a number of size and price options per image, as shown in the mockup jpg attached.

If i have, for example, a separate price table with 3 rows per imageID, the resultant recordset has 3 rows per image.

I want to display this data as per the mockup, with 1 image and price displayed as rows in a list.

I hope this clarifies things a bit.

url for testing site is www.gallery.stonepits.com

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