when i try to insert each line into my oracle database i get an error stating invalid number, but if have only one line in the file it works fine.
$file = @f
$lines = explode("\n", str_replace("\r", "", file_get_contents("file.text"))); foreach ($lines as $line) { insert(explode(' ', $line); }