Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/shopsite/sql.php on line 7
Cod: Selectaţi tot
<?php
$host = "localhost";
$user = "site";
$pw = "parola";
$dbank = "site";
mysql_connect("$host","$user","$pw");
mysql_select_db("$dbank");
?>