Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

Search: 

  Tutorial: PHP Introduction to PHP My First PHP Script Tutorial

In this tutorial you will learn to make a very basic php script. It will show you what is needed and some tips for beginners.

Tutorial Details:

My First PHP Script

PHP is a powerful yet simple language to learn. With it you can develop anything from a personal web page to an enterprise portal. Once you have the skills, your imagination is the only limit. But as anything, you must approach it step by step.

This tutorial is aimed to people having a first contact with the language.
To run a php script you need a php server. For testing purposes you can use any free host account (most free host already have php installed). But if you plan to develop many scripts on the long run you will have to install it on your on computer.

Hello World
Following the tradition, our first task will be to print "Hello World". PHP files are a mix of html and php code. The php part is enclosed between < ?php and ?> tags. The following script will print Hello Word.
< ?php
print "Hello World";
?>

For it to work you must save the file with a .php extension, upload it to your website, and call it. For example we can name it first.php. We managed to print some text making use of the print() function.


 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
PHP Introduction to PHP My First PHP Script Tutorial

View Tutorial:
PHP Introduction to PHP My First PHP Script Tutorial

Related Tutorials:

Displaying 1 - 50 of about 2283 Related Tutorials.

PHP Ajax Book
PHP Ajax Book PHP Ajax Book  ...; AJAX and PHP:  Building Responsive Web Applications is the most practical... knowledge of PHP, XML, JavaScript and MySQL, this book will help you understand
 
PHP Programming Books
, written by my colleague, Andi Gutmans, and two very prominent PHP developers..., and after only two weeks, I had converted most if not all of my Perl scripts into PHP...;  A Programmer's Introduction to PHP
 
Free PHP Books
first PHP code, as you start writing your first scripts. If you are entirely new...; A Programmer's Introduction to PHP 4.0 No matter what language you... be immediately incorporated on any website. The invaluable A Programmer's Introduction to PHP
 
Open Source PHP
for PHP scripts The main purpose of this tutorial is to kick off the new... and throughout the net regarding PHP. This tutorial will be fairly short, so even...;  Open-source photo gallery PHP Script Plogger is the next generation
 
PHP Jobs
PHP Job, PHP Jobs PHP Jobs  ...; Currently we are looking for PHP programmers to join our development team. You will be involved in the development of websites based on PHP and MySQL. We
 
EasyEclipse for PHP
Eclipse Plugin-Language EasyEclipse for PHP...;    EasyEclipse for PHP contains the tools needed to start developing PHP code: the PHPEclipse IDE, some database tools, as well
 
PHP Jobs at Rose India
PHP Job,PHP Jobs at RoseIndia.net,Job PHP PHP Jobs...;      We are looking for PHP programmers to become part of our dynamic fast growing team. This PHP Jobs
 
PHP Training
PHP Training PHP Training...;    PHP is one of the most popular, free, efficient... websites. After completing this training you will be able to understand PHP
 
PHP Web Hosting
PHP Web Hosting,PHP Web Hosting services,PHP Web Hosting Companies,Web Hosting PHP Web Hosting...; PHP is a great scripting language, which is widely
 
PDT - PHP Development Tools
PDT - PHP Development Tools PDT - PHP Development...;    PDT Project PHP Development Tools About PDT The PDT project is working towards providing a PHP Development Tools framework
 
First Ajax Example
Ajax First Example,Ajax PHP Datetime Example,Free Ajax and PHP Example Ajax First Example - Print Date and Time... asynchronously from the server side php script. Our HTML page calls serverside php
 
Web Programmer
; designing on Java/PHP/.Net. platform. Thorough knowledge of Linux... of Java/PHP/.Net. Advanced database concepts. Proven affinity with large... stack was made using LAMP. Running on PHP 5.2, with about 500k lines of code
 
GUI Tutorial I - FIRST DRAFT
Vanilla Java: GUI Tutorial First Draft Table of Contents GUI Tutorial I - FIRST DRAFT Table of contents Introduction Tiny Window - The smallest window you can build. Tiny Window
 
AN INTRODUCTION TO JSTL
of this tutorial on JSTL, the author gives a brief introduction to JSTL and shows why and how... AN INTRODUCTION TO JSTL AN   INTRODUCTION ... tutorial on JSTL, the author  introduces the concept of tag-based programming
 
Database Specialist
; Position Vacant: Database Specialist (PHP/MySQL)  Job Description Candidate must have a knowledge of Javascript, PHP, MySQL...-on experience in programming in PHP/MySQL.  Candidate should have
 
Introduction to MySQL
Introduction to MySQL Introduction to MySQL... popular open source SQL database management system. Our MySQL tutorial.../tutorial: Our MySQL online training at RoseIndia.Net gives you a in-depth
 
MySQL Tutorial - SQL Tutorials
MySQL Tutorial,Free MySQL Tutorials,MySQL Programming Tutorials,Online MySQL Help for Beginners MySQL Tutorial - SQL Tutorials...;  Complete MySQL 5 Tutorial In this section you
 
My Favorite Java Books
Java: My Favorite Java Books Java NotesMy Favorite Java Books My standard book questions When I think... this be a book I would buy if I wanted to learn the subject on my own? Can
 
OOP Tutorial [first draft]
Java: OOP Tutorial Java: OOP Tutorial [first draft] Table of contents Introduction... implementation of Comparable. 1. Introduction Object-Oriented
 
jQuery to Select Multiple CheckBox
; In this first jQuery tutorial we will develop a simple program that retrieves.... In this example we will be calling a server side PHP script . You can easily replace PHP... the CheckBox data . Here is the code of PHP script (postData.php). <?php
 
jQuery to Post Data Check
a server side PHP script . You can easily replace PHP with JSP, or ASP program. Steps... the response from the server. Here is the code of PHP script (comment.php...;          In this first
 
jQuery to Show Data Randomly
; In this first jQuery tutorial we will develop a simple program that Show Data Randomly ... will be calling a server side PHP script to get the Random Data. You can easily replace PHP.... Here is the code of PHP script (time.php). <<?php header("Cache
 
jQuery to Retrieve Server's Current Time
; In this first jQuery tutorial we will develop a simple program that retrieves... will be calling a server side PHP script to get the current server time. You can... the current server data. Here is the code of PHP script (time.php). <
 
First Step towards JDBC!
JDBC Tutorial- JDBC Example, Java Database Connectivity Example First Step towards JDBC     ...;         Introduction
 
Introduction To Enterprise Java Bean(EJB). WebLogic 6.0 Tutorial.
EJB Tutorial - Introduction To Enterprise Java Bean(EJB) with WebLogic server... Beans) (Online WebLogic 6.0 Tutorial)    ...     Introduction
 
JavaScript array first element
javascript array first element JavaScript array first element        ...;      In this Tutorial we want to describe you
 
eSpell
, C, C++, XML, HTML, JSP, and PHP. With support for Aspell dictionaries
 
JSF Introduction - An Introduction to JSF Technology
JSF Introduction,JSF Introduction,JSF Introduction Tutorial,Java Server Faces Introduction,Introduction to Java Server Faces JSF Introduction - An Introduction to JSF Technology
 
Tikal Eclipse
, C/C++ and Dynamic Languages (Perl, PHP, Python and Ruby) Development. Tikal
 
Introduction to Dojo
;     In this first section of Dojo tutorial... Introduction to Dojo, Dojo Introductionm, Dojo toolkit Introduction to Dojo        
 
Welcome to the Apache Struts Tutorial
Introduction to Struts 2 framework. Struts Hibernate Integration Tutorial NEW... - Jakarta Struts Tutorial Struts1 Examples Struts 2 Training! Get.... Ant script is provided with the example code. Many advance topics like Tiles
 
Photoshop Tutorial : How to make a speaker design
some simple steps to teach you easily so follow my this tutorial. New File: First...;    Get ready to learn my new design, in this tutorial you...: It is your work to make little speaker, use my steps that is to make it as I
 
Writing your First WAP Application.
Writing your First WAP Application. function validateForm...; } Tutorial... First Application.Now
 
First Step towards JDBC!
data stored into the database. Here is the complete tutorial on JDBC technology... Versions From First To Latest         ... and concurrency concepts.    Introduction to the java.sql Package 
 
Learn Java Quickly, Quick Java Tutorial
. The translation is done in two steps. First the programs written in Java or the source code... the function of JVM How to write your First Java program Ok, now you know...), then its time to write your first Java program. Create a source code program
 
Unix Web Hosting
Hosting provides Perl programming, PHP programming and MySQL & PostgreSQL... scripting language. PHP is supported by Unix hosts.  FTP  File Transfer... PHP Support Tickets Crafty Symtax Live Help PHPLinks Webcalendar
 
Starting with Eclipse IDE
-Ins are available for C/C++,Cobol, PHP, JSP/Servlet, J2EE and many more
 
Brief Introduction to the Web Application development
Brief Introduction to the Web Application development... Introduction to the Web Application development....     This tutorial will take you through
 
Struts 2 Tutorial
Programming Tutorials Struts 2 Tutorial  ... Struts 2 Tutorial and Online free training helps you learn new elegant Struts 2... will first download tomcat and configure it as our development server.  
 
Java Write To File - Java Tutorial
in Java Java Write To File - Java Tutorial...; Introduction In the section, you will learn how to write data to a file... into the bytes. This program first check the existence of the specified
 
Java Script Programming Books
Java Script Programming Books Java Script... Yourself Java Script The World Wide Web began as a simple repository...;     Java Script: The Definitive
 
Action Script 'include' statement example
; First Action Script file GeometricalFigures.as imports two packages... Action Script 'include' statement example Action Script 'include' statement example    
 
Objective C Tutorial
of Objective c like views and controls, menu items etc. In this tutorial first we... Objective C Tutorial,Objective C Tutorials Objective C Tutorial        
 
Rationale for GUI tutorial decisions
Java: Rationale for GUI tutorial decisions Table of Contents Rationale for GUI tutorial decisions Java...: It's too hard Based on my experience with students it simply doesn't seem
 
Struts 2 Tutorials for Beginners, Struts 2 Tutorial
Programming Tutorials Struts 2 Tutorial  ... Struts 2 Tutorial and Online free training helps you learn new elegant Struts 2... will first download tomcat and configure it as our development server.  
 
Struts Tutorials - Jakarta Struts Tutorial
Introduction to Struts 2 framework. Struts Hibernate Integration Tutorial NEW... - Jakarta Struts Tutorial Struts1 Examples Struts 2 Training! Get.... Ant script is provided with the example code. Many advance topics like Tiles
 
Ruby on Rails-Introduction
Ruby on Rails-Introduction Ruby on Rails-Introduction         ...;    This Tutorial is basically designed to provide you
 
Introduction to the JDBC
Introduction to the JDBC Introduction to the JDBC ...;  Introduction
 
Java Complete Hibernate 3.0 Tutorial Tutorial
. Download Source Code Example of tutorial Introduction to Hibernate 3.0... Hibernate Tutorial,Hibernate 3 Tutorials,Java Hibernate Example,Hibernate Online Code Complete Hibernate 3.0 Tutorial
 
jQuery to "Hello World"
will be calling a server side PHP script to get the "text". You can easily... is the code of PHP script (helloWorld.php). <? print $hello_world...; In this  jQuery tutorial we will develop a simple program that print the Hello
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.