how going to add coins when registering

Results 1 to 5 of 5
  1. #1
    Member t0niex is offline
    MemberRank
    Jul 2011 Join Date
    66Posts

    Support how going to add coins when registering

    how going to add coins when registering I have the hg website
    and I need to give away Donatorcoins when a new user registers


  2. #2
    I am THE DON Joe9099 is online now
    GammaRank
    Jan 2007 Join Date
    England, UkLocation
    3,795Posts

    Re: how going to add coins when registering

    Simply edit the registration php file, find where the INSERT Query is to input data into the database, then create a new Query below it that inserts coins.

  3. #3
    Member t0niex is offline
    MemberRank
    Jul 2011 Join Date
    66Posts

    Re: how going to add coins when registering

    Quote Originally Posted by Joe9099 View Post
    Simply edit the registration php file, find where the INSERT Query is to input data into the database, then create a new Query below it that inserts coins.
    could I leave the PHP code, for me to simply modify on behalf of the columns and the amount of coins ..please

  4. #4
    The Sky's the Limit ^_^ AuroraUK is offline
    True MemberRank
    Jul 2010 Join Date
    1,091Posts

    Re: how going to add coins when registering

    Quote Originally Posted by t0niex View Post
    could I leave the PHP code, for me to simply modify on behalf of the columns and the amount of coins ..please
    In the website script you are using, there is ALREADY a query there, you just need to add the donator coin table and how many coins you want to give a user upon registering.

    PHP: mssql_query - Manual

    Bearing in mind mssql-query has been discontinued in PHP 7, but the website more and likely uses the old PHP version.

  5. #5
    I am THE DON Joe9099 is online now
    GammaRank
    Jan 2007 Join Date
    England, UkLocation
    3,795Posts

    Re: how going to add coins when registering

    Quote Originally Posted by t0niex View Post
    could I leave the PHP code, for me to simply modify on behalf of the columns and the amount of coins ..please
    Put in code tags your php file



Advertisement