Mega Code Archive

 
Categories / Php / Functions
 

Create a User Function

<html>  <head>  <title>Create a User Function</title>  <?php  function myFunction($company) {      print("<p>Welcome to $company</p>");  }  ?>  </head>  <body>  <h3>Start</h3>  <?php  $company = "A";  myFunction($company);  ?>