© Thomas Valentine 2021
T. ValentineDatabase-Driven Web Developmenthttps://doi.org/10.1007/978-1-4842-5970-2_10

10. A Database-Driven Menu System

Thomas Valentine1  
(1)
Selkirk, MB, Canada
 

So we’ve all seen drop-down menus on great sites. They’re a timeless feature – they’ve been used for decades and will no doubt be used for many more. In this chapter, we’ll be using the knowledge presented in an earlier chapter on JavaScript machinations about how HTML, CSS, DOM, and JavaScript work together to provide some pretty amazing functionality. Employ the Perl scripting language and the MySQL database and you’ve got the makings of a very powerful web page feature.

Drop-down menus are simple to understand, given a few pointers. Your drop-down menu uses the ...

Get Database-Driven Web Development: Learn to Operate at a Professional Level with PERL and MySQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.