Page 1 of 1

mysql.class.php with executeQuery command

Posted: Mon Dec 12, 2005 7:31 am
by eelcovn
My ISP made a php-script with a mysql.class.php
They do not want to give me the code. Now I am not able to test and create my own additions.
Does any one know / has a class where with functions like

$r = $mydb->executeQuery($query);


$mydb->getRecords('mydb','cat_id',$cat[cat_id],'linkname,keyword1,keyword2,keyword3,url,status','prio');

Eelco

Re: mysql.class.php with executeQuery command

Posted: Mon Dec 12, 2005 8:35 am
by Chris Corbyn
eelcovn wrote:My ISP made a php-script with a mysql.class.php
They do not want to give me the code. Now I am not able to test and create my own additions.
Does any one know / has a class where with functions like

$r = $mydb->executeQuery($query);


$mydb->getRecords('mydb','cat_id',$cat[cat_id],'linkname,keyword1,keyword2,keyword3,url,status','prio');

Eelco
Who was the class written for? Strange for them to refuse to let you see the code. It looks as if you're looking for a "MySQL Wrapper Class".

If you search in the code snippets forum here you'll find one ;)

There's also tools such as ADODB and ADODB-Lite.