Is it possible to get php to read the contents of a text file and then put those contents into a database. ie sample text file
matt john claire nick mark mike
Many thanks for the help
Matt
Ofcourse it is, but if you have a large file, or you want to do this very often, it may be faster to load the file into the database directly. Many databases support this.
I am using MSSQL 2000, do you know how to do it in that! if not whats the commands to open and read a text file. cheers in advance
check the fopen, fgets commands on the php.net site.