Posted:
Fri May 10, 2002 2:39 am (21 years, 11 months ago)
how do u do u events in php such as calling up a function when a submit button is clicked? is it the same as in javascript? cus i seem to be getting lots of errors doin it like js. i need help, an example if possible. thanx
Daniel Team Member
Joined: 06 Jan 2002
Posts: 2564
Posted:
Fri May 10, 2002 6:02 am (21 years, 11 months ago)
PHP only outputs HTML, so all the Javascript will be client side. If you want a function to be called when someone clicks a button, you'll have to have a form be sent when the button is clicked. That isn't really what PHP is meant for
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.