alicefreak Posted September 11, 2010 Share Posted September 11, 2010 Hello guys, I'm new to PHP. Please help me. I have two functions in myFunctions.php 1 is myName() and second one is yourName() function myName() { echo "my name is this."; } function yourName() { echo "your name is that."; } and I have two submit button. One is my and another is you. When user click on my button. then myName() function is called and when user click on you then yourName() function is called. Please help me. Thanks Quote Link to comment Share on other sites More sharing options...
plznty Posted September 14, 2010 Share Posted September 14, 2010 This is confusing, by how you phrased it. However I'll try and help. Perhaps have a include command at the top of your file that gets your functions. Post in full detail please. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.