Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 

 

 

Oracle Database Tips by Donald Burleson


 

PHP

PHP is an embedded language similar to Perl. Its name stands for "PHP: Hypertext Preprocessor". While it is not necessary to understand Perl before reading this book or developing software application, it is helpful to have a working knowledge of Perl.

PHP is a weakly typed language in which variables are preceded by a dollar sign and embedded into HTML.  Like HTML tags, PHP scripts are enclosed with delimiters. They start with <?php  and end with ?>.  A traditional introductory example could be a Hello World program:

Example 1:

    <?php
                  $greeting
="Hello World!";
                  print $greeting
;
                  ?>

Although the variable $greetingcontains a string "Hello World!", its type has not been declared anywhere. A number or a connection could have easily been assigned to an Oracle database and assigned to the variable $greeting.  Thus, when displayed in a browser, the program gives the result shown below:

Now that the most famous program in any language has been rewritten in PHP, it is time to learn the basics.  For the curious, the following URL describes "Hello World" in most of the world's computer languages.  Sadly, PHP was not included.

http://www2.latech.edu/~acm/HelloWorld.shtml

What is the allure of PHP? PHP is executed completely on the server side. It is embedded in the HTML language and is exceptionally easy to program. In version 5, it has all the ingredients of a major OO (Object Oriented) language. It supports inheritance, interfaces, constructors and destructors, public, and private and protected class members.

Any programmer who knows how to use Java or C++ will not have any trouble with OO concepts in PHP.  It is also a much simpler and more standardized way of supporting OO programming than the method chosen by the designers of Perl.

The first two chapters of this book present a brief introduction to PHP. This chapter contains the following sections:

  • Basics - This section describes operators, expressions and variables.

  • Data types - This section describes Boolean type, strings and arrays.

  • Statements- This section describes conditional statement, loops and loop control statement.

  • Functions - This section describes PHP super-globals and useful functions.

See code depot for complete scripts

This is an excerpt from the book Easy Oracle PHP.  You can get it for more than 30% by buying it directly from the publisher and get instant HTML-DB scripts from the code depot:

Easy Oracle PHP
Create Dynamic Web Pages with Oracle Data

Includes online HTML-DB code depot

Buy it now for 30% off - Only $19.95
 

HTML-DB support:

For HTML-DB development support just call to gat an Oracle Certified professional for all HTML-DB development projects.

 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.