View Full Version : Calling PHP functions
hidden_18
February 23, 2006, 11:50 AM
how do call a php function when a button is clicked and this function is on the same page as the button being clicked (so id on't think that i can use post)
Arch_Angel
February 23, 2006, 12:04 PM
PHP is a server side language. You will need to use javascript instead.
aonekilla
February 23, 2006, 04:41 PM
can you explain a little more clearly what is it that you want to do???
solomon
March 5, 2006, 03:12 PM
how do call a php function when a button is clicked and this function is on the same page as the button being clicked (so id on't think that i can use post)
It is possible with AJAX type code.
What is it that you are trying to accomplish?
fabian
March 6, 2006, 01:03 AM
This task will really not be completed by use of (only) php.
Can you be more specific as to what you really aim to accomplish? -- as asked earlier too.
Can a forum moderator move this thread to "general programming" or something?
hidden_18
March 6, 2006, 03:04 AM
Thank You All for Your suggestions i used one of the advice to use javascript and i have accompilshed what i wanted to do
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.