Wednesday, May 24, 2006

25th Day: ThE LaSt DaY!

It's my last day today! I am happy and sad at the same time. I'm happy because my OJT is finished. I'm sad because of the friends that I will be leaving there. For my last assignment, my supervisor, Sir Richard, asked me to debug some minor errors in the VConnect site. The VConnect site is the new website for the new call center of VPHI. He also asked me to make an initial layout for the Mt. Everest site. I'm not sure but what I know is this site is for the recent Philippine Mt. Everest expedition. Then comes merienda time, me and my fellow trainees, Svet and Vanessa prepared a little something for our officemates. Our last day blowout! We ate lots of food, like pizza, baked mac, and tarts. I together with my fellow trainee, Svet, and some officemates, like Toni, Acey, Hazel, Maricris, and even Sir Richard, decided to have an overtime. For dinner, we ate the left over food from merienda which we didn't finish again. After eating dinner, Toni and Acey gave me and Svet each a gift. For me, a personalized pin. I love it! I just don't know if I want to use it because I don't want it to get lost or be damaged. I had alot of fun today. I will never forget this OJT experience.

Monday, May 22, 2006

24th Day: browser compatibility issues :(

I'm having browser compatibility issues. I just found this morning when my supervisor tested it in his computer which uses Mozilla Firefox. It works perfectly well in Internet Explorer but there are some things that doesn't appear in Mozilla Firefox. I am now in the process of debugging the code. I hope I can finish this before I go home because the next day I go to work will be the last day of my OJT.

Saturday, May 20, 2006

23rd Day: some additions again...

I'm now finished with the back-end of order.php and it's now completed. I'm just adding the necessary features, like error checking and validation, to make it more useful and to also avoid some bugs.

Thursday, May 18, 2006

22nd Day: on to the back-end...

The layout for the Order Form page is now finished. I am now working on the back-end of the page. Like my first assignment, I will be using formmail.php again. I will be linking it with order.php so that when a user submit his orders, order.php will send an email containing his orders to the email of the sales department.

Wednesday, May 17, 2006

21st Day: layout making day...

I'm now making the layout for the Order Form page. It's an easy task for me considering that I don't have to think for the layout of the page because I'm just copying the form from Vibal's brochure as is. I'm familiar on how to make GUI components but I'm not really good in making layouts. I'm not that artistic and ideas just won't pop out.

Tuesday, May 16, 2006

20th Day: some additions...

The Request for Evaluation Copies page is now completed. I'm just adding the necessary features, like error checking and validation, to make it more useful and to also avoid some bugs.

Monday, May 15, 2006

19th Day: Session Handling Functions, Working! :)

I fixed the error! Yehey! Thanks to my friend, you know who you are! Haha! The session_start() method should be placed at the beginning of the php file, not at middle, not at the end but at the beginning of the file before the tag. I'm very happy. Session Handling Functions are now working. I can now continue where I left off and implement the ideas I had in mind.

Friday, May 12, 2006

18th Day: session handling problems :(

I still can't make it work. I read the online manual over and over again but I still can't find an answer to my problem. My problem is I can't start sessions. I use the session_start() method like manual said but there are always two errors that appear. Here are the actual error messages:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\Evaluation\requestevaluation.php:2) in C:\Program Files\Apache Group\Apache2\htdocs\Evaluation\requestevaluation.php on line 14

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Program Files\Apache Group\Apache2\htdocs\Evaluation\requestevaluation.php:2) in C:\Program Files\Apache Group\Apache2\htdocs\Evaluation\requestevaluation.php on line 14

I know how to use sessions because I used it in JSP before but how will use it if I can't start and make it work in the first place. If I get pass this, just this one thing, everything will be alright. I hope can find a solution to this by tomorrow.

Thursday, May 11, 2006

17th Day: PHP: Session Handling Functions

Today, I discovered that PHP also have Session Handling Functions just like JSP. I knew it! I know that there must be some way that I can be able to retain data in a variable across different webpages. My problem now is I can't make it work. I should read more on the Session Handling Functions manual found in

16th Day: some problems again...

I have been doing this "add book for evaluation" thing the whole day. I have a JavaScript-PHP integration problem again. I think I have a wrong design on how to implement it. I'll think of new ways on how to implement it tomorrow.

15th Day: half day...

At last, blog update. I continued what I have started yesterday and I'm also planning on how I will implement the next step, the "add book for evaluation" thing. I am just half day today so I'll be leaving in a minute. I just got to do some stuff. Bye bye for now.

Monday, May 08, 2006

14th Day: I'm on FIRE!

I found the solution to the problem I had last time on PHP and JavaScript integration. The solution is to not use JavaScript anymore, haha!Ü I think I have done many things today considering the new techniques I have found in coding in HTML and PHP. I just hope my idea for the form is right though.

Friday, May 05, 2006

13th Day: GrEaT DaY ToDaY!

It's a great day today even if its my 13th day. I worked on the website of Nginiiig, a show on ABS-CBN which has been turned in pocketbooks by Golden Books and Publications. Like yesterday, I worked on the user interface. I fixed the errors in the code that makes some features of the website not visible. It's also a great day because it's the first time that I received may allowance. Thank God Its Friday!Ü

Thursday, May 04, 2006

12th Day:'s blog and other stuff...

I continued what I have started yesterday. I still can't figure out how to integrate JavaScript and PHP. This afternoon, I was asked to look at's blog and find out why it's not compatible with Internet Explorer. Luckily, I found the error. The webpages use an external JavaScript and CSS file. The error is that this webpages points to the wrong directory. Another error is in the the JavaScript file. This error causes the pictures to not display properly. I also have corrected this and the blog is now ok.Ü

Wednesday, May 03, 2006

11th Day: code and fix...

I'm still on the test page. I'm coding, designing and planning all the same time. I'm coding and trying out PHP MySQL functions, designing and planning the database and how the site will be implemented. I also stumbled upon some problems that I encountered in the past, like the possibility of integrating JavaScript and JSP but now its PHP instead of JSP. JSP and PHP are somewhat similar but I didn't found a solution to that problem before.

Tuesday, May 02, 2006

10th Day: SQL and and stuff...

Thank God, I'm now finished at PHP-MySQL connectivity. I can now access the database using PHP. I don't know PHP that well so I need the internet to search for some codes but there is no internet connection today. That's why I can't work properly. I'll just continue doing this test page tomorrow when there's internet already.

9th Day: department outing...

It's just five of us here in the office. The others went on an outing. I forgot that my supervisor, sir Richard, is the only one who knows that password to the admin account of the computer I use and he is also the one who activates access to this blog. So I can't continue the things that I left yesterday because the other accounts on this computer don't have access to the things I do. I also can't add a new entry to this blog that's why I'm doing this just now. Today, I just gathered data for the database and planned a little on how the design will go.