Remember that you will typically use a form to receive input from a user; this form will trigger the CGI script through the form's action parameter. Your CGI script can then use a CGI library (such as the cgicc library) to obtain the data the user entered. The script can then call into MySQL to access the databases stored on the Web server. Using this technique, you can write some seriously powerful dynamic Web pages. Have fun!