Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 13. Modifying MySQL Objects and ... > Displaying Results with Embedded Lin...

13.3. Displaying Results with Embedded Links

You may want to give your web user the ability to click a hyperlink to launch an action that relates to the current row in the results from a query. You do this by adding URL links to the results of a query when they display on the screen. The links contain a unique identifier to the row and the script that handles the action.

The PHP script that's the target of the link typically queries the database based on the unique identifier that was passed to it. The types of action you can do range from formatting or deleting a row to expanding on details from a related table, such as authors for book titles.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial