PHP Functions - Return values
Code:<?php function add($x,$y) { $total=$x+$y; return $total; } echo "1 + 16 = " . add(1,16); ?>
Out put: 1 + 16 = 17
PHP Functions - Return values
Code:<?php function add($x,$y) { $total=$x+$y; return $total; } echo "1 + 16 = " . add(1,16); ?>
Out put: 1 + 16 = 17
it's not hard to study
Bookmarks