Hi,
It's probably very easy, but I cannot find my mistake:
page1.php
<?php
echo "<a href=page2.php? vartrans=5342>C lic</a>";
?>
page2.php
<?php
echo "$vartrans" ;
?>
When I click on the link on page 1, page 2 appears on the screen but with
the following error message:
Notice: Undefined variable: vartrans in c:\program
files\easyphp1-7\www\page2.php on line 2
What's my mistake?
I use php 4.3.3.
Thank you vm in advance for your help
Lc
It's probably very easy, but I cannot find my mistake:
page1.php
<?php
echo "<a href=page2.php? vartrans=5342>C lic</a>";
?>
page2.php
<?php
echo "$vartrans" ;
?>
When I click on the link on page 1, page 2 appears on the screen but with
the following error message:
Notice: Undefined variable: vartrans in c:\program
files\easyphp1-7\www\page2.php on line 2
What's my mistake?
I use php 4.3.3.
Thank you vm in advance for your help
Lc
Comment