Function to process form
Posted: Sat Mar 07, 2009 9:28 pm
I'm tying to get this function to process this from but cant get it to work.
It's all in the same file. Any help would be appreciated. Thanks!
Code: Select all
<?php
function sumbitNotification(){
echo message;
};
?>
<h1>Hypertype Notification</h1>
<form name="form" method="POST" action="<?php sumbitNotification(message); ?>">
<p><label for="message">Message</label><br />
<textarea name "message" rows="10" cols="30">Input your message here</textarea></p>
<p><input type="submit" name="Submit" value="Submit Notification" /></p>
</form>