Web Databases The following pages provide examples that use the Perl DBI (Database Interface) with a MySQL database. For information on how to obtain an account on dbm1.itc.virginia.edu (ITC's MySQL database server) and the associated security concerns, please see: http://www.itc.virginia.edu/desktop/web/mysql For each of these examples, the database name is "mst3k_Inventory". If you would like to download your own copy of mst3k_Inventory, please see database instructions. Each of the examples under "More formatting" uses a stylesheet for font definitions. You may obtain a copy of the stylesheet here. Note: the DBI module is only available if you are using /uva/bin/perl. To see what your account default is for Perl, type "whence perl" on the Unix command line. If some other path is reported, you can make /uva/bin/perl your default interpreter by changing the PATH environment variable in your .variables.ksh file. Using your favorite editor on this file, modify the PATH assignment to read: "PATH=/uva/bin:$PATH". The change will take place on your next login to blue.unix. Simple Queries
Query based on user input
Inserting data into the database
Web
Development Support | General
Info | Getting Started |
Design & Promotion If you need further assistance with Web applications or questions, send e-mail to web-consult@virginia.edu or call the ITC Help Desk at 924-3731.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||