Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

Wanted: Service Can any one make this happen

Status
Not open for further replies.

MELIAM

Level 4
Legacy Platinum Member
Joined
Feb 11, 2006
Messages
151
Reaction score
0
Thread closed thanks to hyped for all your help also thanks to all others that replied.

Cheers




Hi All,
can anyone create me a small program i am willing to pay that can do this below

I have a list of words eg below in txt format

Mansfield
Test
Notts
luck
bolsover


I want to import this txt file so i get the following below Bold is what i need it to replace the info in the txt file also in Bold is ato number there could be as many as 1000 words in the txt file to import.


INSERT INTO `rl_categories` VALUES (1, 'Mansfield', '', 0, 0, 1, '', '', 1, 0);
INSERT INTO `rl_categories` VALUES (2, 'Test', '', 0, 0, 2, '', '', 1, 0);
INSERT INTO `rl_categories` VALUES (3, 'Notts', '', 0, 0, 3, '', '', 1, 0);
INSERT INTO `rl_categories` VALUES (4, 'luck', '', 0, 0, 4, '', '', 1, 0);
INSERT INTO `rl_categories` VALUES (5, 'bolsover', '', 0, 0, 5, '', '', 1, 0);

PM me
 

katherine

Country hopper
Legacy Exclusive Member
Joined
Jul 9, 2005
Messages
8,427
Reaction score
1,291
This could be done using PHP or better yet a mySQL script with LOAD DATA INFILE function (if mysql user has FILE privilege). Feel free to PM me.
 
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

Who has watched this thread (Total: 1) View details

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Premium Members

Upcoming events

Latest Listings

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators

Top Bottom