Return to Snippet

Revision: 49591
at July 26, 2011 02:08 by Darksider3


Initial Code
<?php
//Porzendual
mysqli_connect("host", "username", "pw","db");
//Proz. query
mysqli_query("SELECT * FROM `table`");
//Object orientiert :)
$mysqli = new mysqli('host','username', 'pw','db');
//Object query
$mysqli->query("SELECT * FROM `table`");
?>

Initial URL
http://darksider3.pf-control.de

Initial Description

                                

Initial Title
Mysqli Connections/Querys

Initial Tags

                                

Initial Language
PHP