Show us what's in your 'connection.php' file. Delete any credentials or other sensitive info.
hellow,
here's code of connection
tell me wrong please
have nice day
rahel
<?php
// connection au serveur
// connection au serveur
try {
$dns = 'mysql:host=localhost; dbname=test';
$utilisateur = 'root';
$motdepasse = '';
// options de connection
$options = array(
pdo::mysql_attr_init_command => "set names utf8",
pdo::attr_errmode => pdo::errmode_exception
);
$connection = new pdo( $dns, $utilisateur, $motdepasse,$options );
} catch ( exception $e ) {
echo "connection à mysql impossible : ", $e->getmessage();
die();
}
?>
thanks helping
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment