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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.