Anything after the ? is a URL variable and you can use that in your Perl code by referencing the $ENV{'QUERY_STRING'}.

A quick hack example (you will obviously want to check to make sure the data is what you think it is and does not contain garbage stuff::

$someData = $ENV{'QUERY_STRING'};
$stmt = "SELECT * " .
   "FROM [someTable]" .
   "WHERE ([someField] = $someData)";


Bret


Chris Ripley wrote:

What is the general format for querying a database
using hyperlinks?

example: http://www.site.com/page? (then what?)

I can't seem to find an easy way to do that?

-C

=====
Chris Ripley
[EMAIL PROTECTED]
KOZE Radio

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/




-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Bret Jordan Dean's Office Director of Networking College of Engineering 801.585.3765 University of Utah [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to