Hello
I'm trying to:
Create' text file A' from 'form B'. that is dynamically created from 'text file C' that was created/appended 'from D'.
I've got this far:
I've created 'form B' dynamically from 'text file C' that was created from 'form D'.
And this is how it works:
'Form D' appends the 'text file C':
fputs($out,"$start\t");
fputs($out,"$ppg00\t");
fputs($out,"$end\n");
'Form B' is created from 'text file C' by:
for ($i=0; $i<=count($readfile)-1; $i++) {
$fields = split("\t",$readfile[$i]);
print("entry $i<br>
<input type=\"text\" name=\"star$i\" value=\"$fields[0]\"><br>
<input type=\"text\" name=\"con$i\" value=\"$fields[1]\"><br>
<input type=\"text\" name=\"end$i\" value=\"$fields[2]\"><br>");
heres my problem: As 'text file C' is of an undetermined length as it can be appended, so my question is how do I pass the dynamically generated values from 'form B' to a 'text file A' file?
I have to produce a version of this in MySQL as well tho I'm thinking that'll be easier so I'm tackling this text one first! as I odn't work with text files usually!
Can anyone help me with this?
Cheers John