hello friends,i am creating for my class mates to upload images and comment on them,i have got the uploading script and the image viewer,but the problem is that i dont know how i can make the script dynamically pic images that have been uploaded in the image viewer such anytime someone long into his or her album his or her images will appear in the image viewer....
also i will be glad if you could help me wirte a script which will enable users to make comments to the pictures...what i did first was

<form id="form1" name="form1" method="post" action="1.php">
<p>comment
<textarea name="textarea"></textarea>
<input type="submit" name="Submit" value="Submit" />
</p>
</form>
<table width="306" border="1">
<tr>
<td height="79"><script type="text/php">
$textarea = isset($_POST['textarea']);
echo $textarea;

?>&nbsp;</td>
</tr>
</table>

<script type="text/php">
$textarea = $_POST['textarea'];
echo $textarea;

?>

but it doesnt work,i will be really glad for your help,thank you