Help: How to import ";" denoted .txt file into a D

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

you sure, i just ran your script and it returned no errors!?
camarosource
Forum Commoner
Posts: 77
Joined: Sat Aug 03, 2002 10:43 pm

Post by camarosource »

works... well almost :)

It's importing it twice. :)
camarosource
Forum Commoner
Posts: 77
Joined: Sat Aug 03, 2002 10:43 pm

Post by camarosource »

rather than 3 at a time (since 3 lines are in the file), it's importing 6
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Are you sure, i mean, dont forget, i have run the script as well as you.

empty your database, and run it once only. if you keep running the script, it will keep adding duplicate data.

Mark
camarosource
Forum Commoner
Posts: 77
Joined: Sat Aug 03, 2002 10:43 pm

Post by camarosource »

seems to be working now. THANK YOU for your help!
camarosource
Forum Commoner
Posts: 77
Joined: Sat Aug 03, 2002 10:43 pm

Post by camarosource »

Thanks for your help. NO Help needed anymore. Problem solved. :-)

Thanks Bech100.. You fixed it for me. :)
Post Reply