jjmusicpro Posted September 11, 2008 Share Posted September 11, 2008 i was wondering how to do i make another function in my php script, then call it later int he script? so i have a function called enterinto ssrpm... Then i wanted to call that later with some paramaters. Quote Link to comment Share on other sites More sharing options...
lemmin Posted September 11, 2008 Share Posted September 11, 2008 You should be able to figure that out by looking at any kind of code snippet. function enterinto(arg1, arg2) { //do something } ssrpm("one", "two"); Quote Link to comment Share on other sites More sharing options...
jjmusicpro Posted September 11, 2008 Author Share Posted September 11, 2008 wouldnt it be like this?> function enterinto(arg1, arg2) { //do something } enterinto("one", "two"); Quote Link to comment Share on other sites More sharing options...
Mchl Posted September 11, 2008 Share Posted September 11, 2008 It wouldn't function enterinto($arg1,$arg2) { } enterinto("one","two"); Quote Link to comment Share on other sites More sharing options...
lemmin Posted September 11, 2008 Share Posted September 11, 2008 Yeah sorry, I really wasn't paying attention when I wrote that. Mchl is right. 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.