I made a neat script to post user-made cars to a site.
I use a form and then this script:
<?php
$filename = "recall.inc";
$fp = fopen ($filename, 'a');
fputs ($fp, "<?php cars(\"".$image."\",\"".$name."\",\"".$class."\",\"".dash."\",\"".$url."\"); ?>");
fclose ($fp);
print "Your car has been successfully added to the <a href=\"/cars/\">Cars Pages</a>";
?>
to write the info in a file that recalls a function that makes the table.
Everything functions perfectly, only when I add a new car it's displayed under the older...!
How to avoid this?
Alberto