BHCoder adlı üyeden alıntı: mesajı görüntüle
verdiğim adresi gezip inceleyip anlamaya çalışırsanız örnekleri görürsünüz,
kolay gelsin.

<?php
require('fpdf.php');

$pdf=new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output();
?>
inceledim ama pek bişey anlayamadım bu kodu nereye yazacağım ?

sayfanın kodları:


<?php require_once('Connections/baglan.php'); ?>
<?php
$colname_cvgoster = "-1";
if (isset($_GET['ID'])) {
  $colname_cvgoster = (get_magic_quotes_gpc()) ? $_GET['ID'] : addslashes($_GET['ID']);
}
mysql_select_db($database_baglan, $baglan);
$query_cvgoster = sprintf("SELECT * FROM sivi WHERE ID = %s", $colname_cvgoster);
$cvgoster = mysql_query($query_cvgoster, $baglan) or die(mysql_error());
$row_cvgoster = mysql_fetch_assoc($cvgoster);
$totalRows_cvgoster = mysql_num_rows($cvgoster);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?php echo $row_cvgoster['Baslik']; ?></title>
<style type="text/css">
<!--
#Layer1 {
	position:absolute;
	left:32px;
	top:7px;
	width:919px;
	height:24px;
	z-index:1;
}
#Layer2 {
	position:absolute;
	left:780px;
	top:32px;
	width:151px;
	height:172px;
	z-index:2;
}
-->
</style>
</head>

<body>
<div id="Layer1">
  <div align="center"><strong><?php echo $row_cvgoster['Baslik']; ?></strong></div>
</div>
<div id="Layer2"><img src="<?php echo $row_cvgoster['resim']; ?>" width="150" height="170" /></div>
<p>&nbsp;</p>

<table width="769" height="182" border="0">
  <tr>
    <th width="181" scope="row">&nbsp;</th>
    <td width="578">&nbsp;</td>
  </tr>
  <tr>
    <th scope="row">Adı Soyadı </th>
    <td><?php echo $row_cvgoster['Adiniz']; ?></td>
  </tr>
  <tr>
    <th scope="row">Adres</th>
    <td><?php echo $row_cvgoster['adresiniz']; ?></td>
  </tr>
  <tr>
    <th scope="row">Telefonlar</th>
    <td><?php echo $row_cvgoster['telefon']; ?></td>
  </tr>
  <tr>
    <th scope="row">E-mail</th>
    <td><?php echo $row_cvgoster['email']; ?></td>
  </tr>
  <tr>
    <th scope="row">Web Sayfası </th>
    <td><?php echo $row_cvgoster['websitesi']; ?></td>
  </tr>
</table>
<table width="773" border="0">
  <tr>
    <th width="181" scope="row">&nbsp;</th>
    <td width="582">&nbsp;</td>
  </tr>
  <tr>
    <th scope="row">Son &Ccedil;alıştığım Yer </th>
    <td><?php echo $row_cvgoster['soncalistigimyer']; ?></td>
  </tr>
  <tr>
    <th scope="row">Son Aldığım Maaş </th>
    <td><?php echo $row_cvgoster['sonaldigimmaas']; ?></td>
  </tr>
  <tr>
    <th scope="row">&Ouml;zet İş Tanımı </th>
    <td><?php echo $row_cvgoster['ozetistanimi']; ?></td>
  </tr>
  <tr>
    <th scope="row">İş Tecr&uuml;bem </th>
    <td><?php echo $row_cvgoster['istecrubem']; ?></td>
  </tr>
  <tr>
    <th scope="row">İlgilendiğim Pozisyon </th>
    <td><?php echo $row_cvgoster['ilgilendigimpozisyon']; ?></td>
  </tr>
</table>
<table width="772" border="0">
  <tr>
    <th width="180" scope="row">&nbsp;</th>
    <td width="582">&nbsp;</td>
  </tr>
  <tr>
    <th scope="row">Eğitim Durumu</th>
    <td><?php echo $row_cvgoster['egitimdurumu']; ?></td>
  </tr>
  <tr>
    <th scope="row">Son Mezun Olduğum Okul: </th>
    <td><?php echo $row_cvgoster['sonmezunoldugumokul']; ?></td>
  </tr>
  <tr>
    <th scope="row">B&ouml;l&uuml;m:</th>
    <td><?php echo $row_cvgoster['bolum']; ?></td>
  </tr>
  <tr>
    <th scope="row">Yabancı Dil </th>
    <td><?php echo $row_cvgoster['yabancidil']; ?></td>
  </tr>
  <tr>
    <th scope="row">&nbsp;</th>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="771" border="0">
  <tr>
    <th width="180" scope="row">Doğum Tarihi </th>
    <td width="581"><?php echo $row_cvgoster['dogumtarihi']; ?></td>
  </tr>
  <tr>
    <th scope="row">Medeni Durum </th>
    <td><?php echo $row_cvgoster['medenidurum']; ?></td>
  </tr>
  <tr>
    <th scope="row">Askerlik</th>
    <td><?php echo $row_cvgoster['askerlik']; ?></td>
  </tr>
  <tr>
    <th scope="row">Ehliyet</th>
    <td><?php echo $row_cvgoster['ehliyet']; ?></td>
  </tr>
  <tr>
    <th scope="row">Hobiler</th>
    <td><?php echo $row_cvgoster['hobiler']; ?></td>
  </tr>
  <tr>
    <th scope="row">&nbsp;</th>
    <td>&nbsp;</td>
  </tr>
</table>

<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>
<?php
mysql_free_result($cvgoster);
?>