Blogspot - phphowto.blogspot.com - PHP How to

Latest News:

References 19 Jan 2007 | 05:48 pm

The reference operator & was added to PHP in version 4. References are useful when you want to refer to a variable by using a name other than its original one. $x = 3 ; $y = &$x ; The second stateme...

Assignment Operators 30 Dec 2006 | 08:47 pm

The main assignment operator is = which is used to assing the right side value to the left. It doesn't mean 'equal to' as in maths. It means 'set to' . This operator returns the result of the assignme...

Arithmetic Operators 28 Dec 2006 | 10:50 am

Arithmetic Operators in Php are just like the ones you use in mathematics. + addition $x + $y - subtraction $x - $y * multiplication $x * $y / division $x / $y % modulus $x % $y These operators are ...

String Operators 28 Dec 2006 | 08:49 am

There is only one string operator in PHP (string concatenating operator). For details: http://phphowto.blogspot.com/2006/12/concatenate-strings.html

Constants 23 Dec 2006 | 05:06 pm

Constants are like variables but their values can't be changed after they are set. Constants are defined like that: define( 'MY_CONSTANT' , 298 ); this statement defines a constant named as MY_CONST...

Variable Variables 20 Dec 2006 | 06:53 pm

In php you can use "variable variables" to reference the name of a variable by using another variable. this may remind you pointers if you are familiar with C/C++ languages but actually its not the sa...

Variables 14 Dec 2006 | 08:36 am

variables are data symbols carrying a value. in php variables are defined by using a $ sign before an identifier. identifiers are the names of variables. identifiers can't begin with a digit and may i...

Access Form Variables 5 Dec 2006 | 04:57 pm

An aim of using php for you may be processing html forms. its easy to access form variables in php. i wont write a sample html form code here. i suppose you already have an html form where each input ...

Concatenate Strings 5 Dec 2006 | 05:57 am

when you need printing more than one strings where there may be variables or other things between them, it would be annoying to write a new statement to echo all the parts. php has a nice way of doing...

Recently parsed news:

Recent searches: