- Impact
- 0
Link Program
I'm trying to create a program where anyone can enter in a Link and the link gets displayed in a page and anyone can click on it.
here's the code for the program above:
I was wondering how do I do the actual storing?
I'm trying to create a program where anyone can enter in a Link and the link gets displayed in a page and anyone can click on it.
here's the code for the program above:
PHP:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Links</title>
</head>
<body>
<?php if (!empty($_POST['Anchor']))
echo "<a href=\"{$_POST['Anchor']}\">{$_POST['Name']}</a>" ?>
<form name="Links" action="" method="post" >
Link Location: <input name="Anchor" type="text" size="100" /> <br>
Link Name<input name="Name" type="text" size="50" /><br>
<input type="submit" value="Link it!">
</form>
</body>
</html>
I was wondering how do I do the actual storing?







