-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdetails (1).php
72 lines (44 loc) · 2.09 KB
/
details (1).php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
if(!empty($_POST['submit']));
{
$fn=$_POST['firstname'];
// $ln=$_POST['lastname'];
$on=$_POST['ordername'];
$mn=$_POST['mobilenumber'];
$em=$_POST['email'];
$add=$_POST['adr'];
// $msg=$_POST['massage'];
require("pdf/fpdf.php");
$detail=new FPDF();
$detail->AddPage();
$detail->SetFont("Arial","B",16);
$detail->Cell(0,20,"Thank You Dear Customer For Odering From Us ",1,1,'C');
$detail->Cell(0,15,"",0,1,'C');
$detail->SetFont("Arial","",16);
$detail->Cell(0,10,"Your Order details",0,1,'C');
$detail->SetFont("Arial","",16);
$detail->Cell(100,15,"Hello Mr/Miss ",0,0,'R');
$detail->SetFont("Arial","B",16);
$detail->Cell(0,15,$fn,0,1,' R');
$detail->SetFont("Arial","",16);
$detail->Cell(100,15,"Your Order : ",0,0,'R');
$detail->SetFont("Arial","B",16);
$detail->Cell(0,15,$on,0,1,'L');
$detail->SetFont("Arial","",16);
$detail->Cell(100,15,"Tracking Link Sent On Email : ",0,0,'R');
$detail->SetFont("Arial","I",16);
$detail->Cell(0,15,$em,0,1,'L');
$detail->SetFont("Arial","",16);
$detail->Cell(100,15,"Your Order Will Deleiver At : ",0,0,'R');
$detail->SetFont("Arial","B",16);
$detail->Cell(0,15,$add,0,1,'L');
$detail->SetFont("Arial","",16);
$detail->Cell(100,15,"Your Mobile Number : ",0,0,'R');
$detail->SetFont("Arial","B",16);
$detail->Cell(0,15,$mn,0,1,'L');
$detail->Cell(0,15,"",0,1,'C');
$detail->SetFont("Arial","",16);
$detail->Cell(0,15,"THANK YOU FOR VISIT ! ",0,0,'C');
$detail->output();
}
?>