My code says incorrect username or password, although, it is correct. I copied and pasted it from the MySQL (phpMyAdmin)By the way, it connects to the MySQL. I just changed the username and password so you could not steal it Code:
<?phpsession_start();
//redirect functionfunction...
I want to include the variable $myusername from the php file index.html, and take it into login_success.php.
I ONLY want that variable, and not the entire page of index.html. Any suggestions?
I am using localhost, but it does not seem to work.
How do I fix it? I get this error:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'derision'@'localhost' (using password: NO) in /home/derision/public_html/checklogin.php on line 10
cannot connect
Line 10 is...
Hi. I recently signed up for my website, www.derisionworld.x10.mx and I was wondering what I use to connect to phpMyAdmin (the host name) I tried localhost, but it can't connect. Any help?
Thanks!