I came up with a app idea that allows Link Searches for a website. I am trying to get the app to automatically save searches for the user.
Here is some of my code that is written up. What I am trying to achieve is the ability to enter random links from websites that I like and display the links within the app and automatically save the inputs.
Is there a way to save links within a page in PHP? Fairly new to PHP. Sorry!
Here is a link - http://www.andulicsdesign.com/Blakes/Index.php
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Indeed Link Search App</title>
<script type="text/javascript">
$(document).ready(function() {
$('#formid form').submit(function(){
$.get('result.php', $(this).serialize(), function(data){
$('#result').html(data);
});
return false;
});
});
</script>
</head>
<body>
<div id="container>
<div id="formid">
<form>
Job Title<input type="text" name="message" value="" />
<input type="submit" value="Submit" />
</form>
</div>
<div id="result">
<?php
echo '<div style="background-color:#fff; padding:20px">' . $_POST['message'] . '</div>';
?>
<?php
$message=$_REQUEST['message'];
echo $message;
?>
</div>
</div>
</body>
</html>