Advertisement
cdsatrian

tabel batas

Jul 25th, 2013
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.45 KB | None | 0 0
  1. $sql = mysql_query ("SELECT * FROM detail_kecamatan where detail_kecamatan.idnagari='$_GET[idnagari]' order by iddetail");
  2. $r = mysql_fetch_array($sql)
  3. echo
  4. "<table><tr><th>Batas</th><th>Desa / Kecamatan</th></tr>
  5. <tr><th>Bagian Utara</th><td>$r['batasutara']</td></tr>
  6. <tr><th>Bagian Selatan</th><td>$r['batasselatan']</td></tr>
  7. <tr><th>Bagian Timur</th><td>$r['batastimur']</td> </tr>
  8. <tr><th>Bagian Barat</th><td>$r['batasbarat']</td></tr>
  9. </table>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement