On Sunday 20 February 2005 00:52, Özgür Odabasi wrote:
> hi all,
>
> I have trouble with preg_replace and querying database,
> my code is below,
>
> include("h/h.php");
>
> function getImgAttributes($id){
> $dsn = array(
> 'phptype' => "mysql",
> 'hostspec' => "localhost",
> 'databas
hi all,
I have trouble with preg_replace and querying database,
my code is below,
function getImgAttributes($id){
$dsn = array(
'phptype' => "mysql",
'hostspec' => "localhost",
'database' => "db",
'username' => "root",
'password' => "pass"
);
$myDbc = DB::connect($dsn);
hi all,
I have trouble with preg_replace and querying database,
my code is below,
function getImgAttributes($id){
$dsn = array(
'phptype' => "mysql",
'hostspec' => "localhost",
'database' => "db",
'username' => "root",
'passw