Using PHP

Today I decided to start implementing some PHP into the site. To do this I first set up a the localhost on my computer using WAMP and installed PHPmyAdmin.

The first thing I decided to do as we are still not 100% on the name of the project, set a variable that I will call every time I use the project name, so all we would have to do is change it in the variable if we change the name. The code I used to do this is:

this is setting the variable “brand”($brand) to be Lunacy.
now every time I want to say the same I would put in .

I have also made it so users can create an account.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s