Jump to content


rbrown

Member Since 29 May 2008
Offline Last Active Dec 01 2013 07:32 AM
-----

Posts I've Made

In Topic: PDO not working in

01 December 2013 - 07:35 AM

Just went back to using PDO from mysqli and figured it out... When I added the array to start the PDO I forgot the ' quotes around the dsn and un/pw

The quotes need to be there.

$db = new PDO('mysql:host=localhost;dbname=testdb;charset=utf8', 'username', 'password');

In Topic: Really... the 4 letter limit is stupid...

27 January 2013 - 08:31 AM

And while I'm at it search google for:

pdo not working uniform server

you get this "wizard's" website for the top link on the page...
http://url4short.info/6c379b9e
then you have to click twice in IE to get to the US site and in chrome you don't get there at all.