The question was asked on the list serve aspdatabases how to
link a picture from a database record.
The following code samples will show you how to accomplish this task.
There are two scripts to this example:
- Script to show you the table structure
- Script to pull the information from the database
You can download a zip file with the database and source code here.(92k)
Sample URL's to pass user information
Test the Script --> pictures.asp?who=elroyj
Test the Script --> pictures.asp?who=chef
Test the Script --> pictures.asp?who=stevep
Test the Script --> pictures.asp?who=blank
The following URL will illustrate the error checking for an invalid ID passed to pictures.asp
Test the script --> pictures.asp?who=jeff