I tried what you suggested before but it didn't work. So I looked at 
php.net and realized that I left 'extends PDO' on the class declaration. 
Did that and it worked, thanks for the help.

> I am not sure what it gets you, but you can just replace:
>    $this->link = mysql_pconnect(host,user,pass);
> with:
>    $this->link = new PDO("... mysql dsn ...", $user, $pass);
>
> ... and keep the same wrapper. Then switch all the methods to use the
> PDO equivalents.
>
> Alvaro
> --
> http://www.alvarocarrasco.com
> https://github.com/alvaroc1

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to