Forum Moderators: coopster
[abc.com...]
the "rid" is the variable that i want populated with the value of 1
$rid = 1
so that it may be used in :
$result=mysql_query("select firstname from $table where id=$rid");
$rid = $_GET['rid'];
You will DEFINITELY want to escape your variables before passing them into a query.
see
[us2.php.net...]
[us2.php.net...]