Techist - Tech Forum - View Single Post - Vocab

Click Here to Login
Thread: Vocab
View Single Post
Old 07-18-2011, 07:32 PM   #16 (permalink)
murdocsvan
Web Programmer
 
murdocsvan's Avatar
 
Join Date: Jun 2007
Location: Surrey, UK
Posts: 896
Default Re: Vocab

Common PHP Operators(remove square brackets):

++
increments integer variable
--
decrements integer variable
==
does equal
!=
does not equal
>
greater than
>=
greater than or equal to
<
less than
<=
less than or equal to
||
or
&&
and
.=
append

example of append:

$hello = "Hello ";
$world = "World!";
$hello .= $world;

hello variable now equals "Hello World!"

+=
add/equals

example of add/equals:

$int = 2;
$int += 8;
int variable now equals 10, the same as $int = 2 + 8;

will update with more at some later point
__________________
PHP + MYSQL, ASP.Net + C# with SQL, WCF, Python, XHTML + CSS, HTML5, JavaScript, jQuery, Flash + ActionScript 3, XML, SVG.

Web Developer Portfolio
murdocsvan is offline   Reply With Quote
 


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 11:21 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.