Functions in PHP

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search

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...