Got stuck
How to make $newUrl a hyperlink in a different html page
new to php code
<?php
if (!isset($_GET['p']) || empty($_GET['p'])) {
$_GET['p']=0;
}
if (empty($_GET['q'])){
echo "What are you doing?";
}
else
{
/* getting value from the search form creating a new variable*/
$ser = $_GET['q'];
/* applying logic and creating a new variable to it*/
$logic = "~resume (filetype:pdf OR filetype:doc OR filetype:rtf OR filetype:htm OR filetype:html) KEYWORD -jobs -apply -submit -required -wanted -write -sample";
/* replacing KEYWORD*/
$logic = str_replace ("KEYWORD", "$ser", $logic);
$url = "http://www.google.com/search?q=";
$inc = '00&num=100&hl=en&ie=UTF-8&filter=2';
$newUrl = "$url" . "$logic" . "$inc";
}
?>