/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to php/dbconnect.php

  • Committer: gustav.hartvigsson at gmail
  • Date: 2013-04-02 13:58:01 UTC
  • mfrom: (7.1.2 pvp)
  • Revision ID: gustav.hartvigsson@gmail.com-20130402135801-jo6now4rir3kyln3
Mergerd fix for the widget library.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
        //DB connection
3
 
        $pdo = new PDO('mysql:dbname=dsystem;host=localhost', 'dbsk', 'Tomten2009');
4
 
        //Set PDO to display errors
5
 
        $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);//, PDO::MYSQL_ATTR_USE_BUFFERED_QUERY );
6
 
        $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
7
 
?>
 
 
b'\\ No newline at end of file'