Re: creating a dBase III file

From: Date: Mon, 18 Mar 2002 00:29:18 +0000
Subject: Re: creating a dBase III file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-88861@lists.php.net to get a copy of this message
Don, Since you are creating this file, you can wrap your character fields in quotes. (Surely you can amend it to look after "plumbing" issues?) They're automatically stripped off in the APPEND FROM .. DELIMITED WITH <delimited>. Alternately you can use tabs to separate fields, tildes, almost anything. Miles At 06:32 PM 3/17/2002 -0500, you wrote:
Hi Miles, Thanks for your response. I was thinking of a way to create a comma delimited file but my problem is that the data might contain commas. Therefore, and CSV file I create from the data might be corrupted. Unfortunately, I cannot alter the data in any way prior. ----- Original Message ----- From: "Miles Thompson" <milesthompson@ns.sympatico.ca> To: "Don" <mail4donpro@rogers.com> Sent: Sunday, March 17, 2002 2:59 PM Subject: Re: [PHP] creating a dBase III file Don, Maybe you can get at it sideways: create a comma delimited file which the dBase app can import. Alternately, there are sites on the 'Net which give you file structures; dBase is pretty simple as all field are fixed length and you'd only have to make certain that you had the header properly adjusted. Miles Thompson At 02:13 PM 3/17/2002 -0500, you wrote:
Hi, I need to create a dBase III file however, my ISP does not have PHP compiled with --enable-debase. Does any one have or know of a class that could accomplish this? Thanks, Don


« previous php.general (#88861) next »