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.
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!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
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.
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.
If you wish to PM me both lists I will create this
Thank you, PM sent.
Done, files sent back to you. Let me know if you need anything else.
Bookmarks