Me learning php easyph have version 3.7, easyphp not that easy to me so i have a question. I can connect to mysql but can not detect database, this must be a basic tweak for those who know the ropes.
<?php
$connection = mysql_connect('localhost','root','') ;
$database = mysql_select_db('loginapp');
if($connection){ echo "CONNECTED" ; }
else {die('Error.');}
if($database){'DATABASE FOUND';}
else { die("DATABASE NOT FOUND");}
?>
$connection = mysql_connect('localhost','root','') ;
WORKS
$database = mysql_select_db('loginapp');
DOES NOT WORK
so there is some confirmed connection.