Tuesday, August 18, 2009

week4-tutorial

In this week’s tutorial (week 4) we tried adopting PHP programming in an HTML document for writing a current date and then modifying it accordingly. I did the first part of the task by going through the prescribed PHP tutorial on UTS online, however, I was stuck, and in the second part of the tutorial i.e. I wasn’t able to modify it instantaneously, even though I reread the tutorial and was following the instructions verbatim. I asked my classmate as I was very frustrated on not getting it in one shot even after I followed the specific instructions. But then it had to be done, instead of not wanting to do it and panicking. I read the instructions again. I did not copy the syntax from the tutorial document this time but wrote the syntax in Notepad++. Went over the PHP program all over again, this was annoying, there it was – I was missing a ‘;’ in the line prior to the echo date(“…”); line, and so, was not getting any message displayed onto the screen. I was happy that I solved it myself but at the moment I am stuck with making

tags and making the layout of my webpage via CSS.

<204:894>

Reference:

PHP4, PHP5 < http://au.php.net/manual/en/function.date.php> viewed on 18 August 2009

No comments:

Post a Comment