Selasa, 24 September 2013

PHP Indonesia - Facebook: Ask gan ini error dimana yahh

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Kinvey Strategy eBook

Kinvey answers 7 critical questions about creating your mobile strategy and technology policies. See our answers in this free eBook.
From our sponsors
Ask gan ini error dimana yahh
Sep 25th 2013, 05:00, by Ahmad Mudhofir

Ahmad Mudhofir 5:00am Sep 25
Ask gan ini error dimana yahh

Ahmad Mudhofir 5:01am Sep 25
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\xampp\htdocs\SIA\media.php on line 34

Muhamad Habibi Azmi 5:10am Sep 25
liat codingnya gan..

Ahmad Mudhofir 5:14am Sep 25
<?php
error_reporting(0);
ob_start();
session_start();
include "config/koneksi.php";
?>
<title>SISTEM INFORMASI MAN Buntet Pesantren</title>
<link rel="stylesheet" href="css/style.css" type="text/css" />
<script src="js/jquery-1.4.js" type="text/javascript"></script>
<script src="js/superfish.js" type="text/javascript"></script>
<script src="js/hoverIntent.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$('ul.nav').superfish();
});
</script>
<style type="text/css">
</style>
<body>
<div id="tabel"><img src="img/header MAN.jpg"></div>
<div id="tabelsystem">
<div id="top">
<ul class="nav">
<?php
function get_menu($data, $parent = 0) {
static $i = 1;
$tab = str_repeat(" ", $i);
if ($data[$parent]) {
$html = "$tab<ul class='sf-menu'>";
$i++;
foreach ($data[$parent] as $v) {
$child = get_menu($data, $v->id);
$html .= "$tab<li>";
$html .= '<a href="'.$v->url.'">'.$v->judul'</a>';
if ($child) {
$i--;
$html .= $child;
$html .= "$tab";
}
$html .= '</li>';
}
$html .= "$tab</ul>";
return $html;
}
else {
return false;
}
}
$result = mysql_query("SELECT * FROM dropdownawal ORDER BY menu_order");
while ($row = mysql_fetch_object($result)) {
$data[$row->parent_id][] = $row;
}
$menu = get_menu($data);
echo "$menu";
?>
<li class="sep"></li>
<li class="right"></li>
</ul>
</div></div>
<?php include "kiri.php"; ?>
<?php include "tengah.php"; ?>
<div id=footer><center>Sistem Informasi MAN Buntet Pesantren</div>

IRvan Fauzie 5:24am Sep 25
nih gan edit bagian ini:

$html .= '<a href="'.$v->url.'">'.$v->judul'</a>';

jadi kaya gini:

$html .= '<a href="'.$v->url.'">'.$v->judul.'</a>';

Muhamad Habibi Azmi 5:28am Sep 25
jiah baru mau ngopiin udah di jawab tuh =^

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar