Jump to content

NEED SERIOUS HELP FOR MY ASSIGNMENT(PHP ERROR).. URGENTLY


rainprop

Recommended Posts

hello,

im new to this php thing..therefore, im trying hard to understand it. i need some help regarding an error.. hope anyone cn help me on this.

i was given task to create a web-based payroll system, and he said that we need to use phpmyadmin, wampserver, and dremweaver to create it.

b4 this i tried a different method, but my lecturer rejected it. so i have to redo my system.

i wanna create a login pagem but the error that came was Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'SYSTEM'@'localhost' (using password: NO) in C:\wamp\www\login-exec.php on line 15

Failed to connect to server: Access denied for user 'SYSTEM'@'localhost' (using password: NO)

 

i had this code written. i guess im wrong. so can anyone help me fix it??

 

//Connect to mysql server

$link = mysql_connect('localhost');

if(!$link) {

die('Failed to connect to server: ' . mysql_error());

}

 

I AM NOT AN Information Technology STUDENT.. im an accounting student.. pls teach me. i rely don know how to do this..im so lost right now. i've tried all i could.

Thanks

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.