Hi,
You can retrieve this value as
$SerialNummer = $pass;
in the file2.php and this will work in perfect. Hope this works fine for u.
solomon wrote:
Hallo!!!
I have two files, say, file1.php and file2.php.
I have one field named SerialNummer (type varchar).
The value of this variable in file1.php(forexample) is 342-1. It works correctly in file1.php. Now I want to use this value of the variable in file2.php.
I have tried like this:
in file1.php, I have created a link <a href = file2.php?pass = $SerialNummer>blbla</a>
in file2.php, I have used $SerialNummer = $HTTP_GET_VARS['pass'];
But the value of $pass in file2.php is empty.
I have been using this method in many scripts on which I am working. I couldn't find the problem with this script.
Is there any help?
Solomon