SlideShare a Scribd company logo
1 of 13
Using PHP to design a
Guestbook Website Tutorial



      By: Joaquin Coston
Step 1
   First, you will need to make an index.php file. On this page you will
    include a header for our guestbook, the mainContent, which is
    making a section for the person name to sign, and footer dividers for
    the bottom of your page.
Step 2
   Second, you will need to make a CSS style sheet to design our page
    any way you like. This is the step where you give your page color,
    boxes, borders, or anything else to make your page look
    presentable.
Step 3
   Next, you will need to make a header.php file. On this file you will put
    all your HTML code for the header divider and or also include a
    graphic banner of your choice if you want it on your page.
Step 4
   After that you will now create a footer.php file and then put all your
    HTML code in this file that you want shown on your page. This is
    most likely the spot where you will put your copyrights at or who the
    site was made by.
Step 5
   Now use <?php include"header.php"; ?> and <?php
    include"footer.php"; ?> in the appropriate places on the index.php.
    The header will go at the top and the footer at the bottom.
Step 6
   Next take the chance to see if your page is looking the way you want
    so far. If not go back and switch things around until you get it to the
    way you desire.
Step 7
   After that, copy your index.php into your guestbook.php
Step 8
   On the index.php, Create a form in the mainContent divider with 2
    text boxes: one for firstname and one for lastname. Set the form
    action to guestbook.php
Step 9
   Then once you do this check the form you made on your page for
    the index.php to make sure it goes through the guestbook.php when
    a person signs its name to it.
Step 10
   Now the next step is to make sure your site is reading the data
    inputted, so now we have to edited the guestbook.php and make
    sure we use $_POST["inputname"] so we can observe the data the
    person has entered.
Step 11
   Then finally we will use this thing called the echo function to print out
    a statement once the person has signed in. The function is $fname =
    $_POST["fname"]; echo $fname; and we will also put this in the
    guestbook.php. Then the statement we can have it say afterwards is
    “Welcome, firstname lastname! You have signed the guestbook.”
Step 12
   And Now you have you Guestbook site using PHP.

More Related Content

What's hot

Building native mobile apps with word press
Building native mobile apps with word pressBuilding native mobile apps with word press
Building native mobile apps with word press
Nikhil Vishnu P.V
 
Create your on personal website - PowerPoint Presentation
Create your on personal website - PowerPoint PresentationCreate your on personal website - PowerPoint Presentation
Create your on personal website - PowerPoint Presentation
webhostingguy
 
WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)
Stephanie Leary
 
From a Fireworks Comp to a Genesis Child Theme, Step by Step
From a Fireworks Comp to a Genesis Child Theme, Step by StepFrom a Fireworks Comp to a Genesis Child Theme, Step by Step
From a Fireworks Comp to a Genesis Child Theme, Step by Step
East Bay WordPress Meetup
 

What's hot (20)

Building native mobile apps with word press
Building native mobile apps with word pressBuilding native mobile apps with word press
Building native mobile apps with word press
 
How to Develop Drupal Website
How to Develop Drupal WebsiteHow to Develop Drupal Website
How to Develop Drupal Website
 
Create your on personal website - PowerPoint Presentation
Create your on personal website - PowerPoint PresentationCreate your on personal website - PowerPoint Presentation
Create your on personal website - PowerPoint Presentation
 
Custom Post Types in WP3
Custom Post Types in WP3Custom Post Types in WP3
Custom Post Types in WP3
 
Teaming up WordPress API with Backbone.js in Titanium
Teaming up WordPress API with Backbone.js in TitaniumTeaming up WordPress API with Backbone.js in Titanium
Teaming up WordPress API with Backbone.js in Titanium
 
Fetch with Frankie and Bowser
Fetch with Frankie and BowserFetch with Frankie and Bowser
Fetch with Frankie and Bowser
 
Build PHP Search Engine
Build PHP Search EngineBuild PHP Search Engine
Build PHP Search Engine
 
WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)
 
CSI: WordPress -- Getting Into the Guts
CSI: WordPress -- Getting Into the GutsCSI: WordPress -- Getting Into the Guts
CSI: WordPress -- Getting Into the Guts
 
Parent & Child Themes
Parent & Child ThemesParent & Child Themes
Parent & Child Themes
 
SoCal WordPress Meetup - iWeb to WordPress aka WP99
SoCal WordPress Meetup - iWeb to WordPress aka WP99SoCal WordPress Meetup - iWeb to WordPress aka WP99
SoCal WordPress Meetup - iWeb to WordPress aka WP99
 
WordCamp Nashville 2015 From Zero to WordPress Publish (Beginner's WordPress)
WordCamp Nashville 2015 From Zero to WordPress Publish (Beginner's WordPress)WordCamp Nashville 2015 From Zero to WordPress Publish (Beginner's WordPress)
WordCamp Nashville 2015 From Zero to WordPress Publish (Beginner's WordPress)
 
INLS461_day14a.ppt
INLS461_day14a.pptINLS461_day14a.ppt
INLS461_day14a.ppt
 
Migrating from WordPress.com
Migrating from WordPress.comMigrating from WordPress.com
Migrating from WordPress.com
 
Custom Post Type - Create and Display
Custom Post Type - Create and DisplayCustom Post Type - Create and Display
Custom Post Type - Create and Display
 
setting up your first website
setting up your first websitesetting up your first website
setting up your first website
 
Custom Fields & Custom Metaboxes Overview
Custom Fields & Custom Metaboxes OverviewCustom Fields & Custom Metaboxes Overview
Custom Fields & Custom Metaboxes Overview
 
Anatomy Of A Domain Name and URL
Anatomy Of A Domain Name and URLAnatomy Of A Domain Name and URL
Anatomy Of A Domain Name and URL
 
Using Wordpress with Reclaim Hosting
Using Wordpress with Reclaim HostingUsing Wordpress with Reclaim Hosting
Using Wordpress with Reclaim Hosting
 
From a Fireworks Comp to a Genesis Child Theme, Step by Step
From a Fireworks Comp to a Genesis Child Theme, Step by StepFrom a Fireworks Comp to a Genesis Child Theme, Step by Step
From a Fireworks Comp to a Genesis Child Theme, Step by Step
 

Viewers also liked (6)

23k guestbooks mix
23k guestbooks mix23k guestbooks mix
23k guestbooks mix
 
All seo foot prints
All seo foot printsAll seo foot prints
All seo foot prints
 
SEO Footprints by www.Netrix.co.uk - Comprehensive Guide to Website Footprints
SEO Footprints by www.Netrix.co.uk - Comprehensive Guide to Website FootprintsSEO Footprints by www.Netrix.co.uk - Comprehensive Guide to Website Footprints
SEO Footprints by www.Netrix.co.uk - Comprehensive Guide to Website Footprints
 
Pitch
PitchPitch
Pitch
 
Introduction and objectives of the project
Introduction and objectives of the projectIntroduction and objectives of the project
Introduction and objectives of the project
 
Format Of Synopsis
Format Of SynopsisFormat Of Synopsis
Format Of Synopsis
 

Similar to Using php to design a guestbook website tutorial

Similar to Using php to design a guestbook website tutorial (20)

Revealing Essential Components For wordpress
Revealing Essential Components For wordpressRevealing Essential Components For wordpress
Revealing Essential Components For wordpress
 
How to Install a PHP Script in cPanel.pdf
How to Install a PHP Script in cPanel.pdfHow to Install a PHP Script in cPanel.pdf
How to Install a PHP Script in cPanel.pdf
 
Purlem Personal URL "How To" Documentation - Print Version
Purlem Personal URL "How To" Documentation - Print VersionPurlem Personal URL "How To" Documentation - Print Version
Purlem Personal URL "How To" Documentation - Print Version
 
Purlem Personal URL "How To" Documentation - Internet Version
Purlem Personal URL "How To" Documentation - Internet VersionPurlem Personal URL "How To" Documentation - Internet Version
Purlem Personal URL "How To" Documentation - Internet Version
 
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
 
Proven ways to place a website under construction in cPanel.pdf
Proven ways to place a website under construction in cPanel.pdfProven ways to place a website under construction in cPanel.pdf
Proven ways to place a website under construction in cPanel.pdf
 
cc.pdf
cc.pdfcc.pdf
cc.pdf
 
cc.pdf
cc.pdfcc.pdf
cc.pdf
 
cc1.pdf
cc1.pdfcc1.pdf
cc1.pdf
 
cc.pdf
cc.pdfcc.pdf
cc.pdf
 
cc.pdf
cc.pdfcc.pdf
cc.pdf
 
Hacked - EVERYONE INTRUSTED
Hacked - EVERYONE INTRUSTEDHacked - EVERYONE INTRUSTED
Hacked - EVERYONE INTRUSTED
 
cc.pdf
cc.pdfcc.pdf
cc.pdf
 
cc.pdf
cc.pdfcc.pdf
cc.pdf
 
cc.pdf
cc.pdfcc.pdf
cc.pdf
 
cc.pdf
cc.pdfcc.pdf
cc.pdf
 
cc.pdf
cc.pdfcc.pdf
cc.pdf
 
cc.pdf
cc.pdfcc.pdf
cc.pdf
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Using php to design a guestbook website tutorial

  • 1. Using PHP to design a Guestbook Website Tutorial By: Joaquin Coston
  • 2. Step 1  First, you will need to make an index.php file. On this page you will include a header for our guestbook, the mainContent, which is making a section for the person name to sign, and footer dividers for the bottom of your page.
  • 3. Step 2  Second, you will need to make a CSS style sheet to design our page any way you like. This is the step where you give your page color, boxes, borders, or anything else to make your page look presentable.
  • 4. Step 3  Next, you will need to make a header.php file. On this file you will put all your HTML code for the header divider and or also include a graphic banner of your choice if you want it on your page.
  • 5. Step 4  After that you will now create a footer.php file and then put all your HTML code in this file that you want shown on your page. This is most likely the spot where you will put your copyrights at or who the site was made by.
  • 6. Step 5  Now use <?php include"header.php"; ?> and <?php include"footer.php"; ?> in the appropriate places on the index.php. The header will go at the top and the footer at the bottom.
  • 7. Step 6  Next take the chance to see if your page is looking the way you want so far. If not go back and switch things around until you get it to the way you desire.
  • 8. Step 7  After that, copy your index.php into your guestbook.php
  • 9. Step 8  On the index.php, Create a form in the mainContent divider with 2 text boxes: one for firstname and one for lastname. Set the form action to guestbook.php
  • 10. Step 9  Then once you do this check the form you made on your page for the index.php to make sure it goes through the guestbook.php when a person signs its name to it.
  • 11. Step 10  Now the next step is to make sure your site is reading the data inputted, so now we have to edited the guestbook.php and make sure we use $_POST["inputname"] so we can observe the data the person has entered.
  • 12. Step 11  Then finally we will use this thing called the echo function to print out a statement once the person has signed in. The function is $fname = $_POST["fname"]; echo $fname; and we will also put this in the guestbook.php. Then the statement we can have it say afterwards is “Welcome, firstname lastname! You have signed the guestbook.”
  • 13. Step 12  And Now you have you Guestbook site using PHP.