<? print "<a href=page.php?ip=$ip_from_mysql>Server</a>"; ?>
Whatever value $ip_from_mysql holds will be accesible on page.php as the $ip variable. Tyler ----- Original Message ----- From: "Hawk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 15, 2002 4:45 PM Subject: [PHP] how to send variable with direct link? > I have a database with gameservers, and I am planning to make them to open a > popup window where the ip I clicked on will be used as a variable for a > explorer plugin that checks servers, my problem is I don't know how to get a > url to send a variable specified from the database. > Don't know if this sounded completly wierd, but I'm bad at explaining :) > > Hawk > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php