Discussion board
Why is PHP Functions used?
By Manju S Reddy
Why is PHP Functions used????
Reply
Post   Reset
Teacher SiliconIndia replied to Manju S Reddy Wednesday, March 17, 2010
Hi Manjunath,
To keep the browser from executing a script when the page loads, you can put your script into a function.
A function will be executed by a call to the function.
You may call a function from anywhere within a page.