}
}
function subscribe_newsletter($email)
{
$insert="insert into subscribers(`email`,`name`,`url`) values('".$email."','','')";
$con=db_connect();
mysqli_query($con,$insert);
}
function random_blogs(){
$select="SELECT * FROM `tblblogpost` where status = 1 order by rand() limit 6";
$con=db_connect();
$result=mysqli_query($con,$select);
while($row=mysqli_fetch_array($result)){
?>
}
}
function subscribe_newsletter($email)
{
$insert="insert into subscribers(`email`,`name`,`url`) values('".$email."','','')";
$con=db_connect();
mysqli_query($con,$insert);
}
function random_blogs(){
$select="SELECT * FROM `tblblogpost` where status = 1 order by rand() limit 6";
$con=db_connect();
$result=mysqli_query($con,$select);
while($row=mysqli_fetch_array($result)){
?>
}
}
function subscribe_newsletter($email)
{
$insert="insert into subscribers(`email`,`name`,`url`) values('".$email."','','')";
$con=db_connect();
mysqli_query($con,$insert);
}
function random_blogs(){
$select="SELECT * FROM `tblblogpost` where status = 1 order by rand() limit 6";
$con=db_connect();
$result=mysqli_query($con,$select);
while($row=mysqli_fetch_array($result)){
?>