Solved

Develop a Master page with Edit options?

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now