note 80610 added to faq
| From: | cempakabiru44 at yahoo dot com | Date: | Fri, 25 Jan 2008 06:27:20 +0000 |
| Subject: | note 80610 added to faq | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135390@lists.php.net to get a copy of this message | ||
hi there,,
pliz help me,,i cant view my data ...
<?php
include_once ("db.php");
$namapenyakit = $_POST['namapenyakit'];
$res = mysql_query("select * from penyakit");
?>
<body onLoad="window.print()"></body>
:: MAKLUMAT PENYAKIT ::
<table border=1 width="100%">
<tr>
<td width="53" ><b>Nama Penyakit</b></td>
<td width="53" ><b>Penerangan</b></td>
<td width="53" ><b>Gambar</b></td>
<td><label></span></label></td>
<td><img src="penyakit/<?php echo $data[4]; ?>"</td>
</tr><tr>
<?
$rows = mysql_num_rows($res);
while ($data=mysql_fetch_row($res))
echo "<td class=\"navText\">";
echo "</td>";
echo "<td
class=\"navText\">".$data[2]."</td>";
echo "<td
class=\"navText\">".$data[3]."</td>";
echo "<td
class=\"navText\">".$data[4]."</td>";
?>
</table>
----
Server IP: 203.202.10.60
Probable Submitter: 119.40.118.200
----
Manual Page -- http://www.php.net/manual/en/faq.php
Edit -- https://master.php.net/note/edit/80610
Del: integrated -- https://master.php.net/note/delete/80610/integrated
Del: useless -- https://master.php.net/note/delete/80610/useless
Del: bad code -- https://master.php.net/note/delete/80610/bad+code
Del: spam -- https://master.php.net/note/delete/80610/spam
Del: non-english -- https://master.php.net/note/delete/80610/non-english
Del: in docs -- https://master.php.net/note/delete/80610/in+docs
Del: other reasons-- https://master.php.net/note/delete/80610
Reject -- https://master.php.net/note/reject/80610
Search -- https://master.php.net/manage/user-notes.php