Solved

Develop a Master page with Edit options?

Posted on 2011-02-28
1
467 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Simple function not working 7 44
Inserting results of While loop to sql server 5 38
PHP: Filling Out/Creating a PDF 29 112
php subtract from date 2 30
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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 …

730 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