Sunday, December 13, 2009

Major problems and milestones

Some of the major problems i had whilst building my blog include:

- Deleting posts using reply_id's and forum_id's
- Search function
- Some posts are posted at the bottom of the forum.php page and not in: ... order by date_posted desc
- Database relationship problems with forum_id on both tbl_forum and tbl_replies tables
- While loops processing too much data on the forum post page(This was fixed when the variable $threadid was being passed through these files properly
- Email could not be done until uploaded to http://tyron.surfandlearn.net because of blocked ports through wamp

Forum.php while loops



This while loop was used to process all data from the tbl_forum table, i had quite a bit of trouble processing the $threadid variable into a div tag because the $_POST function was not correctly processing.

to overcome this i created a hidden field with the id='threadid' and then on the focum.php and message_details.php created the variable $threadid = $_GET['threadid']; which seemed to pass through the $threadid variable into the header to determine which threadid would correspond to each reply.

code can be viewed here

Admin page

Created the admin pages login is - user: admin pass: password2009

Admin's are able to delete posts and create posts using the admin username. They can also view user accounts and delete them.

While loops and


I used while loops, if statements and mysql records to process the tables, for the forum message_details.php file.

Css problems

Had trouble with css – couldn’t get the $css variable to pass through all of the pages – finishing later on

Site creation


Created login.php, login_check.php – forum.php - message_details.php and post_topic.php

Sessions September 2009

Worked out session_start() using the online php tutorial, created session_start() which is applied using the include("config.php"); tag on each php page

Css styles for Wednesday, 19 August

Some styles for the website – will have two different css files for the change of the layout for the user.
Also started the admin panel (not yet completed)

Monday 10, August 2009

Created a Microsoft word document for the online blog and what its purpose will be, who the audience will be, what the site will cover and which languages will be needed to write the online blog.

Friday, December 11, 2009

Building the database September 2009

worked on the database which include things such as:

-Database types
-Which data will be needed to complete the blog
-How the data will be presented on the blog
-Coding required to access information on the database once its underway


Data types and ER modeling can be viewed on http://tyron.surfandlearn.net/