New to PHP - What steps should I take to make my website?

Hi,

I am having to create a website for my final year project at university. The website will involve users registering and organising football games and the teams, thus I will need to make databases for this. The only problem is that I have never used PHP before and I have very limited HTML skills (I’m learning though and I am getting used to it).

The thing that I am worried about is that I have asked people for advice on how I should approach making this website.

Some people have told me that I should just make EACH individual page first (the design) using HTML, and then after I have completed this, move onto creating the databases/tables, and then finally linking everything together with PHP. This is the path that I am currently taking (still making the html pages) but I just want to know if this is a viable way of completing everything?

Thanks

I usually use HTML to mock up my index page. Then I chop up my HTML into a php template file so I can call the header, footer, and sidebar/s on every page, and only have one place to make edits. This usually requires some smart

work and some good css to make it function properly but those are not difficult to use. Then I build my individual PHP pages. If you want to store all your content in a database and just use different functions to call it you can do that or you can hard code independent pages with just their content and then use the php database calls for information need on specific pages. It is really up to you and what you are comfortable with. I would say the first step is always a good template though so your not doubling efforts. on every page. you will only make that mistake once.

First make an ER diagram of your database, i.e. make a basic design of your database.
Make the database according to it. You should know what you need in HTML interface and in php script. So this is most important.

Then go for other things with respect to it. Its your wish what you wanna do first, php or html, it doesn’t matter. They go side by side generally.

Sponsor our Newsletter | Privacy Policy | Terms of Service