[1002] PHP入門班
<?php
//示範變數範圍
$myName="Tad";
showMyName($myName);
function showMyName($myName){
echo $myName;
}
?>
<?php
//示範變數範圍
$myName="Tad";
showMyName($myName);
function showMyName($myName){
echo $myName;
}
?>