I am trying to launch a PHP Function from a FORM;
Currently I am running the Action as a seperate PHP page - like below;
<form enctype="multipart/form-data" action="uploadCSV.php" method="POST">
Please choose a file: <input name="uploaded" type="file" /><br />
<input type="submit" value="Upload" />
</form>
But I am having difficulty returning a Success or Failure back to this PHP page - can you call a PHP function in the "action=" instead of calling a new PHP page?
Thanks for any help,
RA