require( 'fpdf/fpdf.php');fpdfを使用してデータフォームからデータを取得する方法
$ pdf =新しいFPDF( 'P'、 'mm'、 'A4');
$ connection = mysqli_connect( 'localhost'、 'root'、 ''、 'timber1');
$ sql1 = "select * from tbl_customer where customerid = 1053597";
$ result = mysqli_query($ connection、$ sql1);
$行= mysqli_fetch_array($結果);
$ cus_name = $ row ['name'];
$ pdf-> Cell(10,50、$ cus_name、0);
$ pdf-> Output();
ここで$ pdfは定義されていますか? –