par
Invité » 01 mars 2005, 11:15
voilà tous mon code ...apres avoir fais des petis changements
<?
$key=$_GET['cls'];
if($key =="actu"){
echo '<div id="onglet">';
echo "<a href="#" onclick="window.open('op/exp_actuPdf.php','Export PDF','height=600,width=800,toolbar=0')" class="ong">Export Pdf</a></div><br />";
echo $key;
}
if($key =="une"){
echo '<div id="onglet">';
echo '<a href="#" onclick="window.open('op/exp_pdf.php','Export PDF','height=600,width=800,toolbar=0')" class="ong">Export Pdf</a></div><br />';
echo $key;
}
if($key =="mdr"){
echo '<div id="onglet">';
echo '<a href="#" onclick="window.open('op/exp_mdrPdf.php','Export PDF','height=600,width=800,toolbar=0')" class="ong">Export Pdf</a></div><br /';
echo $key;
}
if($key =="them"){
echo '<div id="onglet">';
echo '<a href="#" onclick="window.open('op/exp_themPdf.php','Export PDF','height=600,width=800,toolbar=0')" class="ong">Export Pdf</a></div><br />';
echo $key;
}
if($key =="rub"){
echo '<div id="onglet">';
echo '<a href="#" onclick="window.open('op/exp_rubPdf.php','Export PDF','height=600,width=800,toolbar=0')" class="ong">Export Pdf</a></div><br />';
echo $key;
}
?>
je pense que c'est just un " ou ' qui me fait defaut
voilà tous mon code ...apres avoir fais des petis changements
<?
$key=$_GET['cls'];
if($key =="actu"){
echo '<div id="onglet">';
echo "<a href="#" onclick="window.open('op/exp_actuPdf.php','Export PDF','height=600,width=800,toolbar=0')" class="ong">Export Pdf</a></div><br />";
echo $key;
}
if($key =="une"){
echo '<div id="onglet">';
echo '<a href="#" onclick="window.open('op/exp_pdf.php','Export PDF','height=600,width=800,toolbar=0')" class="ong">Export Pdf</a></div><br />';
echo $key;
}
if($key =="mdr"){
echo '<div id="onglet">';
echo '<a href="#" onclick="window.open('op/exp_mdrPdf.php','Export PDF','height=600,width=800,toolbar=0')" class="ong">Export Pdf</a></div><br /';
echo $key;
}
if($key =="them"){
echo '<div id="onglet">';
echo '<a href="#" onclick="window.open('op/exp_themPdf.php','Export PDF','height=600,width=800,toolbar=0')" class="ong">Export Pdf</a></div><br />';
echo $key;
}
if($key =="rub"){
echo '<div id="onglet">';
echo '<a href="#" onclick="window.open('op/exp_rubPdf.php','Export PDF','height=600,width=800,toolbar=0')" class="ong">Export Pdf</a></div><br />';
echo $key;
}
?>
je pense que c'est just un " ou ' qui me fait defaut