Jun 3

As I mentioned in my previous post, there are some old deprecated things here, I’ll update later.

You now know how to create and display variables with PHP. Here is a review of everything I’ve used so far.

How to break in and out of PHP:

  1. <?php
  2. //PHP Code Goes Here
  3. ?>

How to set a variable:

  1. <?php
  2. $variable = "Variable Value";
  3. ?>

How to quickly display a variable:

  1. <?=$variable?>

Now we are going to use “if,” “else,” and “echo” to set default values for the title, and meta tags. There won’t be a step by step process for this one, I’m just gonna display the sample code for header.php. Everything else is done almost exactly the same as Part 2. Read the rest of this entry »

Jun 3

This is an older tutorial and contains deprecated PHP code. I’ll revisit this in the near future to elaborate.

PHP is great because not only will it allow you to insert files like SSIs, it allows you to easily pass variables on to them such as a page title (your server must support PHP for this to work). You don’t need to know anything about PHP to use this. This example will show how to do this and pass on individual page titles, descriptions and keywords. Read the rest of this entry »

Jun 3

Originally posted on the Steel Dolphin Forum a long long time ago.

Many of you know how to use Server Side Includes, and PHP/ASP. I am going to go over a few uses of these that make your life easier. You do not need to already know how to use these though.

The first rule to making your life easier as a web designer is changing as few files as possible when you need to make a change. That is why we use a separate CSS and JavaScript file, right? This all can be applied along with one of the philosophies behind XML, keep style separate from content.

This is very easy to do with Server Side Includes. How? Here’s the steps. (Your web server must support Server Side Includes)

Read the rest of this entry »

Jun 3

The structure of your HTML is just as important as the visual structure. Properly implementing HTML structure will also make it easier to manage visual structure. Implementing HTML structure is easy to do whether you are hand coding or using WYSIWYG. Read the rest of this entry »

Jun 3

I don’t have a lot to post about right now, my brains a bit fizzled from programming all day, so perhaps I’ll start by reposting some old stuff I’ve posted to other sites. In the meantime you can take a look at bald me. Read the rest of this entry »

Next Entries »