D4DME – Filtering

As a recipe site it was important that we created a filter that would allow the users to narrow down their choices and find their recipe’s easier. We decided to base our filters on 4 different selections.


Screenshot of the submit php.

Screen Shot 2015-04-20 at 09.16.51

A lot of the work was done by Verity, however she was able to comment on each section to help explain her actions clearer to me and therefore I was able to understand it.

Overall the filtering process took time and a lot of trial and errors. It eventually became functional and we were able to see it in action.

Screen Shot 2015-04-20 at 09.23.13

D4DME – Sorting with PHP

At today’s workshop we were given an insight on how to make a webpage sort out particular contents. These are commonly used within social networking website, that will allow us to view the most recent contents. For example; News Feed on Facebook. We then added a an if statement that would show an error message if the wrong information was inputted.

Below are screenshots on how I achieved this:

Screen Shot 2015-01-13 at 11.28.58

Screen Shot 2015-01-13 at 11.29.11

Screen Shot 2015-01-13 at 11.29.20

Screen Shot 2015-01-13 at 11.32.06

Adding the error message

Screen Shot 2015-01-13 at 11.39.19

The sorting page was largely based around if statements. This was due to it determining the information that has been inputted and that “if” the information was not accepted or recognise then it would send out an error.

This workshop has allowed me to really understand the functionalities of sorting and how it used to create interactive web pages. I’ll be keeping this in mind when I work on my new project as we will be wanting upload the latest recipes in order.

Workshop – HTML & PHP

At today’s workshop we continued to create more features for our webpage. We were asked to design a navigation bar. We learnt how to make an unorder list. We would then create a link for the different tabs in order for it to become interactive. After that we were introduced to Filezilla which is a FTP software designed to export webpage designs on to the web.

Finally we turned our HTML files into PHP  in order to make the webpage more versatile.

Below are screenshots of what I did.

Screen Shot 2014-11-24 at 16.00.09

Screen Shot 2014-11-24 at 16.00.14

The two screenshot above shows how I created the navigation bar from last weeks workshop using HTML and CSS. I started of unorder listing them on HTML before moving on to CSS to customise the text.

Screen Shot 2014-11-24 at 16.00.29The screenshot above shows the outcome of my navigation bar. I was able to divide the “home” “about” and “contact” and use the hover tag to allow them to react when the mouse hovers over them. Making them a hyperlink.

Screen Shot 2014-11-24 at 16.00.32The screenshot above shows what happens when I click on one of the hyperlinks. It shows that the link works however the navigation bar is no longer there and therefore I am unable to navigate myself back to the homepage. This leads on to the next task we then did in order to make the navigation bar accessible on different pages.

Screen Shot 2014-11-24 at 16.44.53

Screen Shot 2014-11-24 at 16.45.52

The two screenshot above shows how we changed the HTML file into a PHP file. We created an entirely new PHP file which would hold all the navigation tags. We then changed all of the HTML files into PHP files. This will allow the navigation bar to be visible in all tabs.

Screen Shot 2014-11-24 at 16.44.39

The screenshot above shows the outcome after changing the HTML file into a PHP. The URL also shows how we used Filezilla to export the webpage on the web.

Overall I found this workshop to be very helpful in further understanding how HTML, CSS and PHP works. It allowed me to get a better idea of how webpages are put together and then exported using FTP software’s like Filezilla. I was able to see how PHP coding works similar to the Javascript coding we did previously on Processing. I also learnt how to create a navigation bar using unorder listing which will beneficial for me in the future.

I was pleased with my approach to the workshop as I was able to go through with it quite easily and achieve the learning objectives.