php - PowerPoint PPT Presentation

1 / 5
About This Presentation
Title:

php

Description:

The goal of the language is to allow web developers to write ... http://www.php.net/manual/en/ Example: Guestbook. http://www.awtrey.com/support/dbeweb/php.php ... – PowerPoint PPT presentation

Number of Views:23
Avg rating:3.0/5.0
Slides: 6
Provided by: mfpcb
Category:
Tags: guestbook | php

less

Transcript and Presenter's Notes

Title: php


1
php
  • http//opendeveloper.org/PHP/
  • http//www.php.net/

2
  • http//xml.apache.org/

3
PHP Server Scripting
  • PHP Version 4.0.2 is an HTML-embedded scripting
    language. Much of its syntax is borrowed from C,
    Java and Perl with a couple of unique
    PHP-specific features thrown in. The goal of the
    language is to allow web developers to write
    dynamically generated pages quickly. 

4
php Manual
  • http//www.php.net/manual/en/

5
Example Guestbook
  • http//www.awtrey.com/support/dbeweb/php.php
  • ////////////// // This is the meat of the query
    that updates the guests table ////////////////////
    //////////// query "INSERT INTO guests "
  • query . "(guest_id, guest_name, "
  • query . "guest_email, guest_time,
    guest_message) "
  • query . " values(0000,'name','email',NULL,'me
    ssage')" mysql_pconnect("db2.pair.com","tator_w",
    "password") or die("Unable to connect to SQL
    server") mysql_select_db("tator_awtrey") or
    die("Unable to select database")
    mysql_query(query) or die("Insert Failed!")
Write a Comment
User Comments (0)
About PowerShow.com