on 1/14/02 2:12 PM, Daniel Barton at [EMAIL PROTECTED] 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++;
    }
?>



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to