Hello all; I would like some help with a php code I’m trying to customize. The code needs to post appended data using the _post method into a specific area of the page it posts to. The code I have does all but the last portion; posting into a specific area, such as a div or table. Also, if possible, I’d like each form of data to be made as a table row. I have the knowledge in theory, but just not the application. Immediate help is appreciated, and, thanks in advance.
[php]<?php
$myFile = “…/registration/february.php”;
$fh = fopen($myFile, ‘a’) or die(“can’t open file”);
$stringData = $_POST[“pt”]." “.$_POST[“jc”].” “.$_POST[“ci”].” “.$_POST[“r”].” ".$_POST[“dp”];
fwrite($fh, $stringData);
$lineBreak = “\n”;
fwrite($fh, $lineBreak);
fclose($fh);
?>[/php]
All pieces of data in the stringData should be in separate table rows (tr), which are all placed in the same table or div (id).