.codebox {
background: #333366;
background-repeat:no-repeat;
border: solid #5C7B90;
border-width: 1px 1px 1px 20px;
color: #000000;
font: 13px 'Courier New', Courier, monospace;
line-height: 16px;
margin: 10px 0 10px 10px;
max-height: 200px;
min-height: 16px;
overflow: auto;
padding: 28px 10px 10px; width: 90%;
}
.codebox:hover {
background: #99FFFF;
background-repeat:no-repeat;
}
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
Post a Comment