passing php variables from page to page
Im having troubles with passing a php variable from one php page to the next.
Can anyone tell me what the problem could be?? thanks!
Here's my simple code:
this passes email=mark_nsx@yahoo.co.nz to process.php
[email.html]
<html">
<head>
<title>Untitled Document</title>
</head>
<body>
<a href="process.php?email=mark_nsx@yahoo.co.nz">Send Email</a>
</body>
</html>
[process.php]
<?php
$email = $_GET['email'];
?>
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<p>Email: <?php print "$email"; ?>
</body>
</html>
Subject
Written By
Posted
passing php variables from page to page
February 21, 2006 06:22AM
February 21, 2006 01:14PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.