Chodzi mi o to by pod spodem wyswietlalo sie:
Dodal: Admin | Odslon: 25 | Drukuj(ikonka drukarki)
I po kliknieciu by drukowalo mi to co jest wyswietlone.
<?php
function dodaj() {
global $mapamiasta_tbl, $acc ;
$result = mysql_query(\"SELECT * FROM mapamiasta ORDER BY obraz\");
$obraz = $r['obraz'];
$nick = $r['nick'];
$opened = $r['opened'];
$print = $r['print'];
echo '<table width=\"450\" border=\"1\" cellspacing=\"0\" cellpadding=\"2\" align=\"center\"> <tr>
<td width=450 class=\"title\"><img src=\"uploads/miasto/'.$obraz.'\"></td>
</tr></table>
<table width=\"450\" border=\"1\" cellspacing=\"0\" cellpadding=\"2\" align=\"center\">
<tr>
<td class=\"title\" background=\"theme/'.$color[3].'/gfx/menu_lewe_dolne.gif\" width=\"200\" height=\"21\">dodal:
<b>'.$nick.'</b></td>
<td width=\"50\">2</td>
<td class=\"title\" background=\"theme/'.$color[3].'/gfx/menu_prawe_dolne.gif\" width=\"200\" height=\"21\" div
align=\"right\">Odslon: '.$opened.' | '.$print.'</div></td></td>
</tr></table>';
}
}
?>
Moze mi ktos z tym pomoc?
Przenoszę: Skrypty php -> php / crashu