4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 events in php
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
metsfan922
Junior WebHelper
Junior WebHelper


Joined: 09 May 2002
Posts: 15

PostPosted: Fri May 10, 2002 2:39 am (15 years, 5 months ago) Reply with QuoteBack to Top

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
OfflineView User's ProfileFind all posts by metsfan922Send Personal Message
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Fri May 10, 2002 6:02 am (15 years, 5 months ago) Reply with QuoteBack to Top

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 Smile

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




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.


Page generation time: 0.050144 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme