Re: formating text to insert in to database

From: Date: Sat, 16 Dec 2000 11:16:10 +0000
Subject: Re: formating text to insert in to database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-30662@lists.php.net to get a copy of this message
> > i have a large text file i need to format in a way that i can insert it > into a database so its sorted properly. > > the text file looks something like this: > > string1 string2 string3 string4 string5 > > > how can i get these strings out so i can insert them in to the database? > maybe i didn't grasp the problem. But why dont you just concat the substrings to a single string (with separators, caution: dont use "metasigns" here, like "/" "\" , "§" should be ok) and insert the result into the database ? jyrgen

« previous php.general (#30662) next »