iNET Interactive - Online Advertising Agency
          
   Home    Authors    About    Login    Contact Us
   Search:   
Advanced Search     
  Articles

  ASP (26)
  ASP.NET (19)
  C and C++ (4)
  CFML (2)
  CGI and Perl (16)
  Flash (2)
  Java (7)
  JavaScript (28)
  PHP (92)
  MySQL (13)
  MSSQL (3)
  HTML (34)
  SEO (9)
  Visual Basic (12)
  CSS (13)
  SSI (5)
  XML (12)
  C# (14)

  Developer News

May 12, 2008
Film Makers, Bands and Comedians Welcome on MySpace
About
 
May 12, 2008
Software Engineering for Ajax
WebReference.com
 
May 12, 2008
What is the Head Tag For?
About
 
May 11, 2008
Improving accessibility for motor impaired users
WebDevTips UK
 
May 11, 2008
10 ways to orientate users on your site
WebDevTips UK
 
May 11, 2008
Web Design Clinic - Rros restoration camp 2006
About
 
Courtesy of moreover.com
 
Want to receive new articles via e-mail? Click here!
/Home /PHP /Introduction to PHP

PHP Lesson Two - Variables 

  Views:    25010
  Votes:    4
by James N Hitz 1/23/04 Rating: 

Synopsis:

Lesson 2: takes you into the realm of PHP variables, how they are defined, concatenation and PHP operators.
Pages: firstback1 2 4 5 6 7 8 9 10 forwardlast
The Article

Different Types of Variables

PHP does not segregate variables by data-type (at least not in the way that they look). What this means is that there are no separate types of variables for floating numbers, integers, string (this means text if you're lost) and arrays. A PHP variable pretty much figures itself out depending on the data assigned to it.

Of course there are different considerations for arrays, floats and strings. These are discussed later.

So put on a smile and just throw "anything" to a PHP variable and you're set. Ha! How's that for being cool?

But... Hellooo. How do you "throw" that "thing" to the variable? How do you assign a value to a variable?

Pages: firstback1 2 4 5 6 7 8 9 10 forwardlast

Similar/related articles:


 
  Sponsors