Solved

Develop a Master page with Edit options?

Posted on 2011-02-28
1
462 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 500 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to count occurrences of each item in an array.
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.

777 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