mmmmmmmmmmm

<?php $con=mysqli_connect( "localhost","root","","malala"); if(!empty($_POST['submit'])) { $first_name=$_POST['first_name']; $msg=$_POST['msg']; $query ="insert into chat2(first_name,msg) values ('$first_name','$msg')"; if(mysqli_query($con,$query)){ } require("fpdf.php"); $pdf=new FPDF(); $pdf->AddPage(); $pdf->SetFont("Arial","B",18); $pdf->Cell(0,10,"--------------------welcome--{$first_name}",1,1); $pdf->Cell(50,10,"name :",1,0); $pdf->Cell(50,10,$first_name,1,1); $pdf->Cell(50,10,"msg :",1,0); $pdf->Cell(50,10,$msg,1,1); $pdf->output(); } ?>

Comments

Popular posts from this blog

jjjjjjjjjjjjjjj