Re: The New Guy

From: Date: Mon, 14 Jan 2002 20:03:34 +0000
Subject: Re: The New Guy
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-15798@lists.php.net to get a copy of this message
on 1/14/02 2:12 PM, Daniel Barton at dbarton@prbo.org appended the following bits to my mbox: > Well maybe I should just go out and join that perl list. I was going to respond to you but I didn't have a good answer. :) I don't know of any built in PHP functions that do what you are looking to do. There are some special fgets-type functions for use with CSV, but nothing that treats it as SQL. You might want to try the PEAR repository to see if they have anything, but I'm not hopeful. For those of you who aren't familiar with it, the Perl DBI::CSV module allows you to use a CSV file as a simple SQL database. Very nice if you don't have a real database to work with (which in this case, Mr. Barton doesn't). I was at a workshop by Randal Schwartz where he showed a bit of how to use it. Very cool... If you can't get the clients to go for the extra cost, I'd recommend going with Perl. Choose the best tool for the job at hand, TMTOWTDI. Paul <?php while ($self != "asleep") { $sheep_count++; } ?>

« previous php.db (#15798) next »