Richard Kurth wrote:
I have a text file that looks like the one below. I need to read the
file into a database.
I was trying the script below but is not working can you help?
$lines = file_get_contents('clientlist1.txt');
$find="Address:";
$f= strstr($f,$find);
$separat="City:";
$ADDRESS = sub
[snip]
I have a text file that looks like the one below. I need to read the
file into a database.
I was trying the script below but is not working can you help?
[/snip]
Loop through with fopen and fgets
http://www.php.net/fopen
http://www.php.net/fgets
--
PHP General Mailing List (http://www.p
I have a text file that looks like the one below. I need to read the
file into a database.
I was trying the script below but is not working can you help?
$lines = file_get_contents('clientlist1.txt');
$find="Address:";
$f= strstr($f,$find);
$separat="City:";
$ADDRESS = substr($f, 0, strpos($f,$
3 matches
Mail list logo