Functions in PHP

Here's the format of a function:

 function plus() {
       ?><img src="./images/plus.gif" width=22 height=22 alt="+" border="0" align="top"> <?
 }

Here's how to call a function:

 plus();

 

Contributeduck176.gif
Note: This page is notably incomplete. You can help. Please contribute by registering your email address and adding your knowledge to this page. The D.U.C.K. wiki was created to be a free informative place that allows an open exchange of accurate information.
Learn more...
Last modified on 6 February 2014, at 22:12