Page 2 of 2

Posted: Sat Mar 10, 2007 5:58 pm
by John Cartwright
You can import text files into databases quite easily... too bad. :wink:

Posted: Sat Mar 10, 2007 6:21 pm
by Mightywayne
Hey! Hey! Tell me how. :( I could easily compile one... I searched google (as usual, might I add!) and it's just a mess. The closest I got is this http://www.thescripts.com/forum/thread75793.html and I'm pretty sure that's irrevalent to what I need.

Posted: Sat Mar 10, 2007 6:45 pm
by afbase
perhaps/maybe a LONGTEXT or LONGBLOB field in your db.

Try this or something else, and y\when you get stuck again ask for help. We're not gonna spoon feed answers

Posted: Sat Mar 10, 2007 6:52 pm
by Mightywayne
o.o; That has nothing to do with entering, but you're right. I'll try reading through the manual I guess, then.

Posted: Sat Mar 10, 2007 7:08 pm
by afbase
Mightywayne wrote:No. :X If I did, I definitely would've done the text file thing.

Why, are you saying that if I did have them in a text file, I could do this easier?!

Edit: Perhaps it's possible to, when making the table, add a value to it instantly?


if you are still stuck in the text into table issue, try using the one of the file functions in php and an explode () in some fashion.

BTW, if your screen name is in reference to "Wayne the Brain" from Aqua Teen Hunger Force, thats FRIGGIN' AWESOME!!!!! if not, then nevermind

Posted: Sat Mar 10, 2007 7:20 pm
by Mightywayne
1. Yes I am completely stuck. But I'll try looking there too. This is the most angering coding I've had to do yet.

2. You are one of the only people to get my name. :)

Edit: hey dude I got a better idea. I really don't want queries or anything. This explode() thing is messing me up and I want to curl into a ball.

I'm just going to make a giant elseif like one I recently did and have rand() be my friend. This also makes it easier for me to extend the game's name database.

... now to make that list....

Edit2: In case anyone searches this in google or something, it IS possible, when creating a table, to instantly add a value to it. `lala` ; put that after you make an entry.