> I want to create a script that will read each line of the file and
> insert it to database. I am new to php and maybe you could help me
You've been posting here for *months*, how new could you be?
Look up the file() function. And the docs for your database.
Phpu wrote:
Hi,
I have a file, test.txt. The containig of this file is:
line 1
line 2
line 3
--
and so on
I want to create a script that will read each line of the file and insert it to database.
I am new to php and maybe you could help me
for just two columns of data this could be just a wa
Phpu wrote:
Hi,
I have a file, test.txt. The containig of this file is:
line 1
line 2
line 3
--
and so on
I want to create a script that will read each line of the file and insert it to
database.
I am new to php and maybe you could help me
http://us2.php.net/fopen
http://us2.php.net/fgets
Then
3 matches
Mail list logo