Selasa, 15 Oktober 2013

PHP Indonesia - Facebook: sudah membuat database dan sudah jalan tp kenapa m...

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/ 
Mobile Game Development Course

Learn how to create awesome HTML5 games that run on iPhone, iPad, Android and Desktop! Sign up today for this $99 online course.
From our sponsors
sudah membuat database dan sudah jalan tp kenapa m...
Oct 15th 2013, 15:25, by Nanang Ramadhani

Nanang Ramadhani 3:25pm Oct 15
sudah membuat database dan sudah jalan tp kenapa masih ada yg error dan banyak banget salah satunya seperti ini :

Fandri Samudra 3:27pm Oct 15
ada fungsi yang udah usang gan...

Fandri Samudra 3:27pm Oct 15
pake wamp?

Nanang Ramadhani 3:28pm Oct 15
iya pak pakai wamp. solusinya bagaimana?

Fandri Samudra 3:28pm Oct 15
ituh yang deprecated fungsi apa gan?

Fandri Samudra 3:29pm Oct 15
ato kodenya di kasih di paste bin

Gunawan Mujur Wibisono 3:29pm Oct 15
buka global.inc.php lalu share line 5-7

Nanang Ramadhani 3:29pm Oct 15
function : {main}( )

Nanang Ramadhani 3:32pm Oct 15
file global inc.php (5-7) dbb:
$name = 'bookdb';
$db = &new MySQL($host, $user, $pass, $name);
?>php

Gembel Berkelas 3:33pm Oct 15
hapus tanda '&'

ini apa ya ???
?>php
buat closing mah ?> aja

Hendri Prayugo 3:36pm Oct 15
ane gak tahu emang bisa yah di web server manggil file php via drive windows kek 'C:\bla bla''
jadi 'C:\wamp\www\com\inc\functions.inc.php' jika berdasarkan lokasi index.php cukup "\inc\functions.inc.php''

Gunawan Mujur Wibisono 3:38pm Oct 15
1-1 dulu.. yg pertama bahas yg di atas dahulu..
berikutya baru yg kedua..
>>berdasarkan lokasi index.php cukup "\inc\functions.inc.php''
++++++++++++++
itu udah setting dari scriptnya.. dia baca relatif.. kl di hosting bs jadi
\usr\xxx\public_html\...

Coki Widodo 3:39pm Oct 15
diatas ane mantab

Nanang Ramadhani 3:40pm Oct 15
yg paling atas sudah sekarang ke dua aku sudah buka file :function inc.php

Gembel Berkelas 3:42pm Oct 15
hapus session_start() yg kedua

Gunawan Mujur Wibisono 3:42pm Oct 15
^pada line 3

Gembel Berkelas 3:43pm Oct 15
(y)

Nanang Ramadhani 3:46pm Oct 15
ok mantab lanjut :
aku sudah buka kategori.php erorr di baris paling akhir berikut kodenya :

<ul>
<?php
include('backsite/inc/config.php');
$kat="select kategori.nama_kategori, kategori.kd_kategori,
count(buku.kd_buku) as jumlah
from kategori, buku
where buku.kd_kategori=kategori.kd_kategori
group by kategori.nama_kategori";
$hasil=mysql_query($kat) or die(mysql_error());
while($get_data=mysql_fetch_array($hasil)){

?><li><a href="index.php?page=detail&id=<?=$get_data['kd_kategori']?>">
<? echo $get_data['nama_kategori'];
echo "(".$get_data['jumlah'].")";
?>
<!--(<?=$get_data['jumlah']?>)-->
</a></li>
<?
}
?>
</ul>
<h3> Penerbit</h3>
<ul>
<?php
include('backsite/inc/config.php');
$kat="select penerbit.nama,penerbit.kd_penerbit,
count(buku.kd_buku) as jumlah
from penerbit, buku
where buku.kd_penerbit=penerbit.kd_penerbit
group by penerbit.nama";
$hasil=mysql_query($kat) or die(mysql_error());
while($get_data=mysql_fetch_array($hasil)){

?><li><a href="index.php?page=detail&p=<?=$get_data['kd_penerbit']
?>">
<? echo $get_data['nama']?>
(<?=$get_data['jumlah']?>)
</a></li>
<?
}
?>
</ul>

Gembel Berkelas 3:48pm Oct 15
jgn pakek short open tag

Gunawan Mujur Wibisono 3:49pm Oct 15
^kenapa?

Gunawan Mujur Wibisono 3:50pm Oct 15
pake aja short open tags.. krn di web sendiri boleh kok.. lagian kl gk pake short open tag gk bisa pake
<?=

Gembel Berkelas 3:50pm Oct 15
ya jd error kalo short_open_tag nya off

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