Hello,
i am trying to create a script that will allow me to visit a page and enter some information and when i click submit it will send that data to anther page,
i have managed to do it with a http link,
but my question is how to keep the writing on that page, ?
im currently using
test1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<a href="test1.php?first_name=Shaun&last_name=Morgan">Test Page 1</a>
</body>
</html>
and test1.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php
$first_name = $_GET['first_name'];
$last_name = $_GET['last_name'];
echo $first_name;
echo $last_name;
?>
</body>
</html>
i want to visit the page test.php enter some info and when i vist test1.php at a later date it still has the information