Hello,
I'm creating a program that analyzes information that is exported by another program. That program exports it in this way:
Value1 Value2 Value3 Value4
Value1 Value2...
In order to insert them in the database, I first have to know how many lines are inserted. They get send through HTML post. I already tried:
$lines = explode("\n", $string);
$number_lines = count($lines);
But this always results in 1. How do I fix this?
Regards,
Chris