i have a part where the user can upload 1 or up to 3 images.. i have a database where i have last_updated.. im trying to get it so once someone uploads a file, it will also change the database date/time so i can see when the last uploads were done.
heres the upload script. if anyone could help me out thatd be awesome. thank you
<script language="javascript">
function upload() {
alert("Depending on the size of your image(s) this may take a minute.");
document.add.action = "<?php print($PHP_SELF); ?>?mode=upload";
document.add.submit();
}
function more() {
document.add.action = "<?php print($PHP_SELF); ?>?mode=more";
document.add.submit();
}
function less() {
document.add.action = "<?php print($PHP_SELF); ?>";
document.add.submit();
}
</script>