Trasfering a variable between two scripts
| From: | KALOSI, David | Date: | Thu, 17 Aug 2000 05:55:02 +0000 |
| Subject: | Trasfering a variable between two scripts | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-12154@lists.php.net to get a copy of this message | ||
I have a script written which generates a table from a Postrgre database(it
lists two fields like "SELECT product_name, price FROM my database;"). I
have an <A HREF=document_detail.php?ID='$id'>(where ID is the record number
in the database) on each record With this links I want to call a new script
which makes a "SELECT * FROM my database;", and generates the full product
information. The links work fine but the output of the document_detail.php
script is empty. I tried to echo
the $id in this script and it showed me nothing.
Can anybody Help me??????
Thanks
--------------------------------------------------------
David Kalosi
HelpDesk technician
bkalosi@globtel.sk