Categories

Updated: 07/21/2005

Variables in PHP

Variables are nothing but identifiers to the memory location to store data. We can create any number of varibles. In PHP all the variables begin with a dollar sign &"$&" and the value can be assignes using the &"=&" operator as shown below: Another important thing in PHP is that all the statements must end with a semicolon &";&". In PHP we needn''t have to specify the variable type, as it takes the data type of the assigned value. From the above example we understand that ''$Name'' is of Data type String and ''$Age'' is of type Numeric.
Similar Scripts for "Variables in PHP"

Getting Started With PHP

The quickest way to learn PHP is to start using it and see what happens. This tutorial starts by diving right into the good old &"Hello World&" script you may have seen when learning other languages. Then, it presents another exampl...

Web Database Tutorial (PHP && MySQL)

This is a tutorial on how to create a web database application using PHP and MySQL on Mac OS X or Linux platforms. The example used is a database to manage web site links. The same ideas used in this tutorial can be expanded to most web applications ...

Graphics Library

This little PHP script implements a simple example of how to use the GD graphics library to create GIFs (GD 1.5).

Script Web databases quickly with PHP

In this tutorial, you''ll learn how to install and configure PHP for use with the Apache Web server on UNIX or the Microsoft Internet Information Server on Windows NT. Then you''ll see by example how to use PHP to route HTML conditionally, ...

Setting Up Database Driven Websites

This tutorial is an introductory guide to get you started in the world of server-side-scripting and web databases. It covers installation and configuration of MySQL, Apache, and PHP. An example script is also included as a guide for making your own s...
©2003-2008 jCay.com