iTech College - Internet Technology, Online Education, E-Learning, Technician Training, Tech Tutorials, Distance Education, Virtual Learning PHP Course: Basic Tags - www.itechcollege.com PHP Course: Basic Tags - www.itechcollege.com
Online Degrees Scholarships & Fellowships Internships Student Financial Aid Study Abroad Itech Bookstore
Free Courses
HTML
JavaScript
CSS
ASP
PHP
JSP
ASP.NET
SQL
AJAX
FTP
XML
Career Center
Job List
Web Jobs
Student Jobs
Computer Jobs
Engineer Jobs
Developer Jobs
Job Search
Resume Writing
Job Interview
Salary Info


itech > courses > PHP > Basic Tags

Basic tags

The PHP is very similar to the ASP. Each PHP code block starts with <?php and ends with a ?>. Your can mix PHP with HTML:

<html>
<body>

<?php 
     // PHP code block
?>

</body>
</html>

We also can use <? and > to embed PHP code. The following tags all are valid for the same use:

<?php ... ?> Standard PHP syntax
<? ... ?> Shorthand syntax
<% ... %> ASP-style PHP syntax
<SCRIPT LANGUAGE="PHP"> Standard script syntax

Like any other Web technologies, PHP can include an extention file. The syntax is::

<? include("header.htm"); ?>  
  Back to Index Page
Next Page >>   Basic Tags
Statements Comments and Characters
echo
Variables
Array
Loop
The If Statement
Function
Send and get Query String
Date and Time
Cookies
Environment Variables
Use Database
Create Graphics
 

PHP Books
PHP Jobs



Bookmark:  del.icio.us digg facebook Reddit Mixx BlinkList Fark Furl NewsVine Simpy Spurl Segnalo Technorati blogmarks Google YahooMyWeb Windows Live



PHP Course: Basic Tags - www.itechcollege.com
Copyright ©2008, itechcollege.com. All rights reserved
iTechCollege | About iTech | Contact iTech