In the below code inside print i have $ fullname and $email
I don't know why its not retriving from database
can any one help me:
<?php
//Connect to the database through our include
include_once "database.php";
// Query member data from the database and ready it for display
$sql = mysql_query("SELECT * FROM jobseeker_members WHERE id='$userid'");
while($row = mysql_fetch_array($sql)){
$fullname = $row["fullname"];
$country = $row["country"];
$state = $row["state"];
$city = $row["city"];
$dob = $row["dob"];
$contact=$row["contact"];
$qualific=$row["qualification"];
$job1=$row["jobint1"];
$job2=$row["jobint2"];
$job3=$row["jobint3"];
}
print"
<br /><br /><br /><h4>OK $fullname, one last step to verify your email identity:</h4><br />
We just sent an Activation link to: $email<br /><br />
<h2>Last Step to verify your email identity :</h2><br /><br />
<strong><font color=\"#990000\">Please check your email inbox in a moment</font></strong> to click on the Activation <br />
Link inside the message. After email activation you can log in.";
?>
$emailis not defined anywhere?$userid. Is there any rows for that id?mysql_any more....its insecure, go formysqli_orPDO...