Learning PHP and MySQL

Wednesday, August 09, 2006

Example 03-01 All you need to start with PHP is a simple HTML document

<html>
<
head>
<
title>Hello  World</title>
</
head>
<
body>
<
p>I  sure  wish  I  had  something  to  say.</p>
</
body>
</
html>

Posted by admin on 08/09 at 03:22 PM
Chapter 3 Code • (3) Comments • (1758) TrackbacksPermalink

Example 03-04 The HTML markup produced by the PHP code

<html>
<
head>
<
title>Hello  World</title>
</
head>
<
body>
Hello  world!<br  />Goodbye.<br  />Over  and  out.
</
body>
</
html>

Posted by admin on 08/09 at 03:23 PM
Chapter 3 Code • (26) Comments • (4349) TrackbacksPermalink

Example 03-06 Reassigning a variable

<?php
$age  
=  30;
$age  =  31;
echo  
$age;
?>

Posted by admin on 08/09 at 03:25 PM
Chapter 3 Code • (2) Comments • (204) TrackbacksPermalink

Statistics

This page has been viewed 375207 times
Page rendered in 0.2467 seconds
Total Entries: 224
Total Comments: 16
Total Trackbacks: 307338
Most Recent Entry: 09/27/2006 12:39 pm
Most Recent Comment on: 10/26/2007 10:00 am
Total Members: 2
Total Logged in members: 0
Total guests: 9
Total anonymous users: 0
Most Recent Visitor on: 02/10/2012 09:41 am
The most visitors ever was 1103 on 11/20/2007 12:50 pm

Referrers

Powered by ExpressionEngine