i read something about PHP. when PHP parse a file, it looks for opening tag and closing tag. these two tags tell PHP where to start and stop interpreting the code between them. the opening tag and closing tag could write like<?php ?>,<script language="php"></script>,<? ?>,<? ?>
but in this program:
<?php
if ($expression) {
?>
<strong>This is true.</strong>
<?php
} else {
?>
<strong>This is false.</strong>
<?php
}
?>
i get a little bit confussed. why the PHP starting tag and closing tag are put beside "if ($expression)", "else", and "}". anyone get idea about this plese leave message to me, thanks.
Monday, March 31, 2008
this is my final learning proposal
http://students.mim.iml.uts.edu.au/users/10514154/LearningProposa.html
this is my final learning proposal. i am looking forward to get any suggestion about my webpage.
this is my final learning proposal. i am looking forward to get any suggestion about my webpage.
Monday, March 10, 2008
learning proposal
This is my learning proposal. I want to do a webpage about soccer. Because i like Soccer very much.
http://students.mim.iml.uts.edu.au/users/10514154/LearningProposal-template.htm
http://students.mim.iml.uts.edu.au/users/10514154/LearningProposal-template.htm
Subscribe to:
Posts (Atom)