Show #54: Stringing together PHP

Posted by Jowlstar on Oct 29, 2005

First we booted up the windows explorer browser, then we went to the course reading material. Then the browser crashed on Spawn’s machine, ChefTD thought that the MSN toolbar might of been causing Internet Explorer to crash. ChefTD stepped in and tried to fix Spawn’s browser issues, and spawn and I began to read at the top of the course material for this week. ChefTD then fixed the browser and Spawn and I kept on reading. We learned how to comment our code using the type C method, the type C method is used in commenting your code. If you use the type C method, then you can see the stuff you learned while writing the code because if you write a code you will probably forget how you wrote it. Then ChefTD said that for every PHP document we start we use this:

PHP:

1 <?php

and then we end our script with

PHP:

1 ?>

and thats how we start and end every script. Then ChefTD told us to make a string and told us that it would look like this:

$myname = ‘Jowl’;

Then we saved the document that we made as 1b1.php, and FTP’d that to our weekly folder.

Links Discussed:
PSPad - Windows-based free text editor with lots of code syntax options. WMcookbook recommended!
Firefox - an alternative browser to Internet Explorer. (ChefTD note: For those looking for the bleeding edge of browsers, try another Mozilla variation: Flock)

Original live airdate: Friday October 7, 2005 at 3:30pm PST / 6:30 pm EST
Webmaster cookBook AUDIO:

Streaming:
20k listen archive stream (dialup users)
64k listen archive stream (broadband)

download 15.0 MB (64k version)