this is my error notice maybe somebody can help me please..? because i was confused with that notice error and i can't find of solution... please answer...!
ibase_connect() i/o error for file "@2" Error while trying to open file The system cannot find the file specified
<?php
// Connection
$db ='localhost:C:/Program Files (x86)/Firebird/NEW-DATA.GDB'; //ex. 'C:\DATA\contoh.DAT'
$user = 'GUEST'; // user database
$password = 'guest'; // password database
$res = ibase_connect($db,$user,$password) or die("" . ibase_errmsg());
?>
<?php
$nama = $_POST['NAMA'];
$email = $_POST['EMAIL'];
$sql = "INSERT INTO USER (NAMA, EMAIL)
VALUES ('$nama', '$email')";
if ($sql) {
echo "Succes";
} else {
echo "Error";
}
?>
now everything is ok but data i've input cannot save to new-data.gdb my database...
Aucun commentaire:
Enregistrer un commentaire