Alright, I have this idea for something, but I have no idea where to start. Thanks in advanced to any pointers.
Page1
Looks through a DIR for all text files, and for each text file does something like this.
Read contents of a text file, each line being a seperate variable, similar for how I am reading this CSV file.
$row = 0;
$handle = fopen("blah.csv", "r");
while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
$num = count($data);
for ($c=0; $c <= $row; $c++){
print("<TR>\n");
print("<td width=50>".$data[0]."</td>\n");
print("<td width=240 style=\"font-size:10px;\">".$data[1]."</td>\n");
print("<TD width=60 height=15 align=\"center\">".$data[2]."</td>\n");
print("</tr>\n");
}
}
fclose($handle);
Then, on the second page, I would like to be able to create a text file from 3 input boxes, and have each box be a new line in a text document.
Thank you so much in advanced.