Welcome Guest, Not a member yet? Register   Sign In
DB and Sample application. Please read
#1

[eluser]Rashid[/eluser]
I have 2 questions if anyone know the answer

1 - Is there a way to use Postgre SQL DB with CI?
2 - Is there any CI sample application with best practices like few input forms etc?

Thanks
#2

[eluser]M52 Studios[/eluser]
Have a look at these two links:
http://ellislab.com/forums/viewthread/131807/
http://www.php.net/manual/en/pgsql.examples-basic.php <-- From the above thread

If not, I would try using PDO like so
Code:
&lt;?php
$dbh = new PDO("pgsql:dbname=$dbname;host=$host", $username, $password );
?&gt;
#3

[eluser]M52 Studios[/eluser]
This may also be relevant

http://hasin.wordpress.com/2007/03/10/fi...ostgresql/




Theme © iAndrew 2016 - Forum software by © MyBB