groups

name language licence
PHP/MYSQL : recuperer un date en base et la formater grace à date PHP Other
JOOMLA : Création de templates personnalisés Other Other
PHP/MYSQL : usage procedurale de mysqli PHP Other
JS : boîte de dialogue confirmation Other Other
JS : comment encadrer le code Other Other
JS : return false; pour stopper un submit ou une redirection d'un lien Other Other
JS/HTML : Integration Jqzoom Evolution Other Other
JS/HTML : Scrolling menu js Other Other

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 >



language: PHP
licence: Other

PHP/MYSQL : usage procedurale de mysqli

options: view full snippetsend to code collector
$host = "";
$usr = "";
$psswd = "";
$db = "";
$char = "UTF-8"

/* hot to connect to the database */
$link = mysqli_connect($host, $usr, $pass);

/* how to set the default charset to use for this connection */
mysqli_set_charset($link, $char);

/* how to select the database */
mysqli_select_db($link, $db);

	
(Continues...)