Date: 11/21/00
- Next message: Vova: "[PHP-DB] Please help me"
- Previous message: Ebeling, Oliver: "[PHP-DB] sybase_get_last_message()"
- Next in thread: JJeffman: "Re: [PHP-DB] $HTTP_GET_VARS"
- Reply: JJeffman: "Re: [PHP-DB] $HTTP_GET_VARS"
- Reply: Juergen Hall: "[PHP-DB] SQL problem with LONG Fields"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Here is what I have.....
How do I pass what I receive in $HTTP_GET_VARS to another page, called
delete.php? I am using this as a pop-up window to delete the current
record. I guess I could do it by id, too, but each "rq" is unique.
Thanks
Bryan Fitch-
*************************************************************************
<HTML>
<?php
$passedsubject = $HTTP_GET_VARS["rq"];
$dbcnx = mysql_connect('localhost:','user','pass') or
die("Errors Occurred");
mysql_select_db ("database");
$tsql = "SELECT * FROM rq WHERE rq='$passedsubject'";
$tresult = mysql_query($tsql, $dbcnx) or die ("doot dee doot");
$numrows = mysql_num_rows( $tresult );
while ($trow = mysql_fetch_array($tresult)) {
echo "<BR><B>Description:</B> ";
echo $trow['rq'];
}
?>
<BR>
<FORM NAME="delete" METHOD=POST ACTION="deleteme.php">
<INPUT TYPE=SUBMIT VALUE=Delete>
</FORM>
***************************************************************************
Bryan Fitch
Programmer
Concept-Factory
http://www.concept-factory.com
bryan <email protected>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Vova: "[PHP-DB] Please help me"
- Previous message: Ebeling, Oliver: "[PHP-DB] sybase_get_last_message()"
- Next in thread: JJeffman: "Re: [PHP-DB] $HTTP_GET_VARS"
- Reply: JJeffman: "Re: [PHP-DB] $HTTP_GET_VARS"
- Reply: Juergen Hall: "[PHP-DB] SQL problem with LONG Fields"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

