Merge pull request #486 from peterkokot/patch-2

added missing starting php tag
This commit is contained in:
Phil Sturgeon
2014-12-07 08:52:03 -05:00

View File

@@ -32,6 +32,7 @@ rushed later on.
many different databases. For example, you can use basically identical code to interface with MySQL or SQLite:
{% highlight php %}
<?php
// PDO + MySQL
$pdo = new PDO('mysql:host=example.com;dbname=database', 'user', 'password');
$statement = $pdo->query("SELECT some\_field FROM some\_table");