Ejemplo n.º 1
0
            break;
        default:
            echo "";
    }
    ?>
 
		</td>
		<td>
			<?php 
    echo $sFamRole;
    ?>
&nbsp;
		</td>
		<td>
			<?php 
    PrintAge($per_BirthMonth, $per_BirthDay, $per_BirthYear);
    ?>
		</td>
		<td><?php 
    echo $sClassName;
    ?>
&nbsp;</td>
		<td><a href="PersonEditor.php?PersonID=<?php 
    echo $per_ID;
    ?>
">Ubah</a></td>
	</tr>

	<?php 
}
?>
Ejemplo n.º 2
0
				<td class="TinyLabelColumn"><?php 
echo gettext("Birthdate:");
?>
</td>
				<td class="TinyTextColumn"><?php 
echo $dBirthDate;
?>
</td>
			</tr>
			<tr>
				<td class="TinyLabelColumn"><?php 
echo gettext("Age:");
?>
</td>
				<td class="TinyTextColumn"><?php 
PrintAge($per_BirthMonth, $per_BirthDay, $per_BirthYear, $per_Flags);
?>
</td>
			</tr>
<?php 
if (!$bHideFriendDate) {
    /* Friend Date can be hidden - General Settings */
    ?>
			<tr>
				<td class="TinyLabelColumn"><?php 
    echo gettext("Friend Date:");
    ?>
</td>
				<td class="TinyTextColumn"><?php 
    echo FormatDate($per_FriendDate, false);
    ?>
Ejemplo n.º 3
0
echo $Stringtext;
ByVal($Stringtext);
echo $Stringtext;
ByRef($Stringtext);
echo $Stringtext;
?>

    <h1>Step 3</h1>

    <?php 
$age = 30;
function PrintAge($Num)
{
    echo "Josh is " . $Num . " years old";
}
echo PrintAge($age);
?>


    <h1>Step 4</h1>

   <?php 
include 'footer.php';
?>



    </body>
</html>