Yeah, me too! Textpad all the way. I also use for C#.
Tryst
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I am trying to create a singleton database class that wraps up the
creation of the PDO class. However, when I call the getInstance()
method and run it through the gettype() method (for testing purposes) it
returns 'object' but when I try to create a statement object I recieve a
Fatal erro
On Friday 14 of April 2006 17:51, Vandegrift, Ken wrote:
> class WebDBConn {
>
> private static $instance = NULL;
>
> private function __construct() {
>
> self::$instance = new PDO($db, $user, $pwd);
> self::$instance->setAttribute(PDO::ATTR_ERRMODE,
> PDO::ERRMODE_EXCEPTION);
> }
>
>
Thank You!
Yep, moving the DB creation logic into the getInstance method did the
trick.
I now have one instance of my DB connection to use throughout my
program.
New and improved (working) getInstance method:
/**
* Return DB instance or create intitial connection
* @return object (PDO)
* @ac
Dear PHP list.
I have a website (local) running on a Windows box. I am using :
PhpDev5 (php,Mysql,Apache 1.x)
I am using PHLib - where I then make use of the template and page auth
functions of PHPLib
What I have found, and this is my problem.
The web application requires a login, all pages a
Try http://www.php-editors.com they list many different editors that you
can use.
HTH
Steve
""pfancy"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Can you show me some of the code i need to unquote so i get an idea about
> where it is.
--
PHP Windows Mailing List (http://w
Try http://www.php-editors.com they list many different editors that you
can use.
HTH
Steve
""pfancy"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Can you show me some of the code i need to unquote so i get an idea about
> where it is.
--
PHP Windows Mailing List (http://www.
Try http://www.php-editors.com they list many different editors that you
can useit lists freebies, commercialware and shareware
""pfancy"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I've been reading over php. I have bought php and mysql for dummies but my
> question is w