-
2 Attachment(s)
Questions:
Hello, I'm writing after a long time inactive times back.
I have a question.
How read text out of a file and then paste it into the correct column?
(These are the columns)
Attachment 468
This is my script
Code:
<?php
$datei=fopen("spiele-b.txt","r+");
while(!feof($datei))
{
$zeile = fgets($datei,1000);
echo $zeile."<br>";
}
fclose($datei);
?>
The first column of the first set no longer works at "home" but afterwards.
It should come at the end of it as out.
(In the last image, the clubs and days are entered manually by "<td> </ td>". )
Attachment 469
Big thanks for help after
Greets STAUFFi :)
-
Well, you can serialize your data in JSON e.g. and save/load that, but this is exactly what databases are good for.
-
The sentences in the text file that can be located to vary the the simple php script reads out the individual variable?