Jump to content

RicardoNET

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

RicardoNET's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello everybody, its seems to be that one of my script files wont work like it should be anymore, Can somebody help me around with this error; [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]Notice: Undefined index: username in C:\WebServer\htdocs\ricardox\user_check.php on line 10[/quote] The code is; [code]$user = $_COOKIE['username']; $sql = mysql_query("SELECT * FROM users WHERE username = '$user'");  // This is line 10 $row = mysql_fetch_array($sql); $num = mysql_num_rows($sql);[/code] What is the problem right now on this code? Thanks for your solution if you have one!
×
×
  • 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.