Methods and Forms

Methods in PHP programming are like functions in c and c++ programming. Methods in PHP programming are also like methods in java programming.

Here is an example method

function calculate($x, $y) {

return sqrt(($x*$x) + ($y*$y));

}

The sqrt() method the square root of a number and the method is included in the PHP programming library. The documentation the PHP library is on the internet at php.net

Forms are written in the HTML programming language. I will talk about more about forms in video tutorial on the example program. Click here to go to a tutorial website on the Twitter Bootstrap 3 Tutorial.

Click here to open the example program of using forms and method.