Hay all i got a function that i would like to be submited by a form filed button im not sure on how the sytax should look.
This is the function i wish to send
and this is what i want to use to send itPHP Code:function sendChatMessage($message) {
sendCommand( "<" . $this->getNick . ">", $message);
}
any help would be apretiated as im new to usning PHP functions!Code:<form name="SNDTXT" method="GET" action=""> <label for="textfield">Text</label> <input name="textfield" type="text" id="textfield" value="usertxt"> <label for="Submit"></label> <label for="label1"></label> <input type="submit" onClick=""> </form>
P.S Great forum![]()







Bookmarks