On Thu, 15 Apr 2004 [EMAIL PROTECTED] wrote:
> dear all
>
> mysql gak konek, muncul error sebagai brikut
> fatal error : mysql_connect() connector.php at line 5
>
> skripnya sbb:
>
> <?php
> $host = "localhost";
> $user = "user";
> $pass = "rhs";
> $db_nm = "dddd";
> $conn = mysql_connect("$host","$user","$rhs");
^^^^^^
harusnya: ^
"$pass"
>
> mysql_select_db("$db_nm",$conn);
>
> ?>
>
> thanks
Coba pertimbangkan untuk menggunakan PEAR::DB atau ezSQL sehingga
memudahkan koneksi.
--
Donny Kurnia -- 13500021
Information System Laboratory
Department of Informatics
Bandung Institute of Technology
--
Berhenti langganan: [EMAIL PROTECTED]
Arsip dan info: http://linux.or.id/milis.php