It depends... if you have a handful of records, you might start with a flat
file. but if you think you'll get to hundreds of records, go with a
database.
Even if all you want is a small array of data, go with a database.
If all you want is a simple array, you might consider use DBM files (Look
at, for example, http://www.php.net/manual/en/ref.dbm.php ).
If you really need SQL goodies, also consider PostgreSQL. Both MySQL and
PostgreSQL work great with PHP.
Emilio
----- Original Message -----
"David Ovens" <[EMAIL PROTECTED]> wrote in message
001301c12824$8cd3a9a0$24047ad5@tinypc">news:001301c12824$8cd3a9a0$24047ad5@tinypc...
Before I start creating an Sql table/database, thought I would ask for
advice first.
I am creating a directory online, with urls information, links, email
addresses etc etc. What do you think is best a MySql database or writing it
to a file using fopen/fwrite (flat file) ??? Your thoughts would be very
much appreciated.
Thanks
Dave
--
PHP General 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]