Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Develop a Master page with Edit options?

Posted on 2011-02-28
1
Medium Priority
?
485 Views
Last Modified: 2012-06-27
I want to build out a Master page that will  1) list products from the product table, including a thumbnail of the products, 2) an Edit link to edit the product, and 3) Delete option to delete the product.

The Master/Detail in Dreamweaver doesn't get me there all the way.

Also, should I consider other options on the Master page in addition to the above?
0
Comment
Question by:sandshakimi
1 Comment
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 2000 total points
ID: 35000223
A master-detail page in Dreamweaver is northing more than a recordset with a repeat region applied.  So if you don't want what the wizard applies, it's only a few extra steps to customize one.

1.  Create the recordset, make sure you return Teheran primary key for each record.

2. Create the container, typically a table, and echo your recordset fields in it.

3.  Create edit and delete links OR forms in the respective table cells.  Pass the primary key through the URL or as a hidden field in the form.

4.  Apply the repeat region behavior.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recursive SQL is one of the most fascinating and powerful and yet dangerous feature offered in many modern databases today using a Common Table Expression (CTE) first introduced in the ANSI SQL 99 standard. The first implementations of CTE began ap…
It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question