Eggie 0 Report post Posted September 24, 2008 (edited) dont be angry at me for having much questions...but i think u'll get used to me...i have this on my phpmyadmin...does this mean i wont be able to make any databases...Create new database: No Privilegesi created one but i cant select it... <?php$host="localhost"; // Host name$username="eggie_asa"; // Mysql username$password="xxx"; // Mysql password$dbname="information_schema"; // Database name$tblname="members";// Connect to server and select database.$a=mysql_connect("$host", "$username", "$password") or die("cannot connect");mysql_select_db($dbname) or die ($dbname . " Database not found." . $username);;$sql="SELECT * FROM $tblname WHERE username='$myusername' and password='$mypassword'";$result=mysql_query($sql);echo $result;echo $sql;?> eggie_asa Database not found.eggie_asa Edited September 24, 2008 by Eggie (see edit history) Share this post Link to post Share on other sites
Eggie 0 Report post Posted September 24, 2008 solved...forgot to add user to database Share this post Link to post Share on other sites