Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Connection
- {
- public $conn;
- public function __construct()
- {
- $this->conn = new PDO("mysql:host=localhost;dbname=myfirsttable","root","");
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement