/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 trunk/DuggaSys/quizAjax/dbconnect.php

  • Committer: a11andoh
  • Date: 2013-05-31 06:21:54 UTC
  • mfrom: (135 lenasys_b)
  • mto: This revision was merged to the branch mainline in revision 137.
  • Revision ID: a11andoh@student.his.se-20130531062154-x18nki8dufjub99h
blurp

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=wwwlab.iki.his.se', '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'