okay, so I got this to work:
the user enters their name in the "author" field and gives the url to the image in the "url" field. then, this is written to the file:
<?php
$FP = fopen("submissions.txt", "w");
fputs($FP, "Creator: $creator\nURL: $url\n\n");
fclose($FP);
?>
I used hex values for line breaks becuase I did'nt want to get complicated with HTML. so thats what the \n's stand for; \n=<br>
what happens is that this appears on the .txt file:
Creator: creator name
URL: url
but whenever someone else submits their info, it writes over the previous one. what I would like to know is if there is a way to write to the file and keep on adding to it, no overwriting?
thank you