Jump to content

help with registration


onthespot

Recommended Posts

 <?php     $q = "INSERT INTO ".TBL_USERS." VALUES ('$username', '$password', '0', $ulevel, '$email', $time, '$name1', now(), '$location', '$x360gt', '$ps3gt', '$pcgt', 'Write your own comment')";
      $stats1 = "INSERT INTO fifa09_stats VALUES ('$username', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0')";
  $stats2 = "INSERT INTO fifa10_stats VALUES ('$username', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0')";
  $stats3 = "INSERT INTO pes09_stats VALUES ('$username', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0')";
  $stats4 = "INSERT INTO pes10_stats VALUES ('$username', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0')";
  }
      return mysql_query($q, $this->connection);
  mysql_query($stats1, $this->connection);
  mysql_query($stats2, $this->connection);
  mysql_query($stats3, $this->connection);
  mysql_query($stats4, $this->connection);?>

 

That isn't working, it's not letting the user register which means there is an error. Can you tell me if i am doing this correctly?

Link to comment
https://forums.phpfreaks.com/topic/170399-help-with-registration/
Share on other sites

Archived

This topic is now archived and is 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.