[PHP-DB] preg_replace and database
hi all, I have trouble with preg_replace and querying database, my code is below, ?php include(h/h.php); function getImgAttributes($id){ $dsn = array( 'phptype' = mysql, 'hostspec' = localhost, 'database' = db, 'username' = root,
[PHP-DB] preg_replace and database
hi all, I have trouble with preg_replace and querying database, my code is below, ?php include(h/h.php); function getImgAttributes($id){ $dsn = array( 'phptype' = mysql, 'hostspec' = localhost, 'database' = db, 'username' = root, 'password' = pass ); $myDbc =