Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 6 of 6
  1. #1
    Platinum Lifetime Member
    P10n33R's Avatar
    Join Date
    Aug 2004
    Location
    Ontario, Canada
    Posts
    595
    DNF$
    11,567
    Bank
    0
    Total DNF$
    11,567
    Donate  

    Help with something MySQL.

    Hello,

    I was wondering if any one could point me to an easy way make this work. I want to be able to take a list of video games I have and put them into a MySQL database. The list is about 160 words long so I don't want to have to do it by hand. See below for code.

    INSERT INTO `cheats` VALUES (19187, 1, 1, 5.0, '#gamename', '<p><h4>We currently do not have any cheats for #gamename, please check back. We will update this page soon.</h4></p>', 'XBox 360', '#firstletterofgame');

    This is the database ID, I want it to increase by 1/insert line.
    This is the name of the game. I want this to change twice per 'insert' I have.
    This is the first letter of the game. I want it to pull from the #gamename if possible.

    Please let me know what you think.

    Thanks,
    Michael Yuke

  2. #2
    DNF Addict
    jdk's Avatar
    Join Date
    Jul 2004
    Location
    Florida
    Posts
    7,082
    Country

    United States
    DNF$
    1,163
    Bank
    0
    Total DNF$
    1,163
    Donate  

    Re: Help with something MySQL.

    Is the games in a database or text file? If you send me the list of games I will write the code real quick and send it to you.

  3. #3
    Platinum Lifetime Member
    P10n33R's Avatar
    Join Date
    Aug 2004
    Location
    Ontario, Canada
    Posts
    595
    DNF$
    11,567
    Bank
    0
    Total DNF$
    11,567
    Donate  

    Re: Help with something MySQL.

    The games are in a text file. I now have two seperate lists for two seperate consoles, meaning the 'Xbox 360' part will also have to change.

  4. #4
    DNF Addict
    jdk's Avatar
    Join Date
    Jul 2004
    Location
    Florida
    Posts
    7,082
    Country

    United States
    DNF$
    1,163
    Bank
    0
    Total DNF$
    1,163
    Donate  

    Re: Help with something MySQL.

    If you wish to PM me both lists I will create this

  5. #5
    Platinum Lifetime Member
    P10n33R's Avatar
    Join Date
    Aug 2004
    Location
    Ontario, Canada
    Posts
    595
    DNF$
    11,567
    Bank
    0
    Total DNF$
    11,567
    Donate  

    Re: Help with something MySQL.

    Thank you, PM sent.

  6. #6
    DNF Addict
    jdk's Avatar
    Join Date
    Jul 2004
    Location
    Florida
    Posts
    7,082
    Country

    United States
    DNF$
    1,163
    Bank
    0
    Total DNF$
    1,163
    Donate  

    Re: Help with something MySQL.

    Done, files sent back to you. Let me know if you need anything else.

Similar Threads

  1. Can I upgrade mysql from cpanel ???
    By tas38 in forum Gold Cafe
    Replies: 6
    Last Post: 05-21-2006, 05:54 AM
  2. Looking for forums advertising asap!
    By inetsource in forum Advertising and Related Offers
    Replies: 2
    Last Post: 04-08-2005, 09:03 PM
  3. Server fix - Mysql is not configured correctly
    By quikx6x in forum Advertising and Related Offers
    Replies: 0
    Last Post: 01-22-2005, 10:42 AM
  4. a nice one: mysqlphp.com
    By in forum Domain Name Appraisal Discussion
    Replies: 2
    Last Post: 04-27-2002, 04:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com