>
1)
{
//echo $queryfinal;
$servername = "localhost";
$username = "dubaijob_recruitarab_simple";
$password = "Radiofm_420";
$dbname = "dubaijob_recruitarab_simple";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM `alljobs` WHERE page_title='$queryfinal';";
if ($result = $conn -> query($sql)) {
while($row = $result->fetch_assoc()) {
$jobid=$row['id'];
$jobcontent=nl2br(strip_tags($row['content'],'