Jump to content

geek@02

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About geek@02

  • Rank
    Newbie
  1. geek@02

    Database problem

    Big thanks mate, it worked -Kasun
  2. geek@02

    Database problem

    Hi!i used below code to retrieve a new username and pass from the user and insert them into a MySql database. But the code gives me this error when i used "robin" to register a new user: "Unknown column 'robin' in 'field list'" . What might be the problem? Thanks. <?phpsession_start();$newusername = $_POST["newusername"]; // This is the inputted username from the form in Login.html$newpassword = $_POST["newpassword"]; // This is the inputted password from the form in Login.htmlmysql_connect('localhost'); // *** INSERT YOUR DATABSE INFORMATION HERE ***mysql_select_db('test') or die('Coul
×
×
  • Create New...