Filed under: Tutorials, Websites | Tags: blog, code, connect, database, dreamweaver, free, header, hosting, html, index, Languages, mysql, php, programming, root, Source code, sql, submit, tutorial, variable, webhost, website, wordpress, xtreemhost
Creating a basic blog using php and mysql Part 3
Creating the create.php page
In the last tutorial we created a dynamic page to display our blog entries but we couldn’t test to see if it was working or not as we didn’t have any entries, so in this part we’re going to build a form so we can submit our entries.
Filed under: Tutorials, Websites | Tags: basic, blog, code, connect, database, Development Tools, dreamweaver, easy, free, from, header, hosting, html, index, Languages, mysql, php, programming, root, scratch, Scripts, simple, sql, tutorial, variable, webhost, Webserver directory index, website, wordpress, xtreemhost
Creating a basic blog using php and mysql Part 2
Creating the index.php
The index page is the homepage for your blog, for this tutorial the index page will display your blog entries. Why is it called index not home or entries? It’s called index because when we stick it in the root directory the index.php bit won’t appear in the URL so out URL will only be http://www.yourdomain.com for example. This keeps the URL tidy, because a tidy URL is a happy URL. This page is where we start to use php to its full potential. We are only going to have one page to display all our blog entries, how are you going to do that I hear you asking, well I will explain below.
Filed under: Tutorials, Websites | Tags: Adobe Dreamweaver, blog, code, connect, database, dreamweaver, free, header, hosting, html, index, Languages, mysql, php, programming, root, sql, tutorial, variable, Web browser, webhost, website, wordpress, xtreemhost
Creating a basic blog using php and mysql Part 1
Introduction
In this tutorial I will be showing you how to create a very basic blogging site. This tutorial will be covering:
– Setting up a database and then connecting to it with php
– Setting up your dynamic page to display your blog entries
– Setting up a html form to create new blog entries
These will be covered in detail with all the coding explained and detailed instructions, this tutorial also includes all the source files I’ve created in the process of making this tutorial, these are available to download under the creative commons act (See http://creativecommons.org/licenses/by/2.0/uk/ for licensing agreement).