IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
PHP
Search PHP Group:

Advanced
-Collapse +Expand PHP Store
PRESTWOODSTORE
   ► KBWebsite Scri...PHPBeginners Co...   Print This     

PHP KB: Beginners Corner Topic


17 Articles Found in the Beginners Corner Topic 

  KB Article    

Mike Prestwood
1. .PHP Execute Rights Do PHP scripts need execute rights?
12 years ago
(1 Comments , last by quick.e )

FAQ
Nothing New Since Your Last Visit
9974
Hits

PHP & Delphi for PHP

Adam Lum
2. A 10 Minute PHP Quick Start

An Introduction to PHP. Installing PHP on Your Computer and Running your First Script.

14 years ago, and updated 10 years ago
(3 Comments , last by Robert.G3 )

KB Post
Nothing New Since Your Last Visit
13102
Hits

PHP & Delphi for PHP

Mike Prestwood
3. Download PHP (Install it)

Download page from PHP.Net.

12 years ago, and updated 10 years ago

Download

Article
Nothing New Since Your Last Visit
14314
Hits

PHP & Delphi for PHP

Mike Prestwood
4. PHP Assignment (=)

PHP uses = for it's assignment operator.

11 years ago
(1 Comments , last by Karian.S )

Code
Nothing New Since Your Last Visit
7933
Hits

PHP & Delphi for PHP

Mike Prestwood
5. PHP Associative Array

Declare associative array with initial known values. You can also add to associative array. (You can just assign values without ever declaring it too!)

12 years ago, and updated 11 years ago

Code

KB Post
Nothing New Since Your Last Visit
14915
Hits

PHP & Delphi for PHP

Mike Prestwood
6. PHP Comments (# or // or /* ... */)

Commenting Code
Use the multi-line to comment out large blocks of code and to write multiple line comments.

12 years ago, and updated 11 years ago
(1 Comments , last by bukrans.m )

Code
Nothing New Since Your Last Visit
7083
Hits

PHP & Delphi for PHP

Mike Prestwood
7. PHP Comparison Operators (==, != or <>)

Common comparison operators:

== equal
!= or <> not equal
< less than
> greater than
<= less than or equal
>= greater than or equal

PHP 4 and above also offers === for indentical (equal plus same type) and !== for not identical (not equal or not same type).

11 years ago

Code
Nothing New Since Your Last Visit
10928
Hits

PHP & Delphi for PHP

Mike Prestwood
8. PHP Deployment Overview

With PHP, you simply copy your files to a web server that is capable of running PHP pages.

11 years ago

Code
Nothing New Since Your Last Visit
9797
Hits

PHP & Delphi for PHP

Mike Prestwood
9. PHP File Extensions (.php)

.php is the default extension for PHP although some developers will change the default extension in an effort to add an additional security level. If your code is tied to a particular version of PHP then some developers at the major PHP version number to the extension as in .php3, .php4, .php5, etc. 

.phtml is also sometimes used especially for files that contain both HTML and Perl code.

12 years ago, and updated 11 years ago

Code
Nothing New Since Your Last Visit
6576
Hits

PHP & Delphi for PHP

Mike Prestwood
10. PHP If Statement (if..elseif..else)

The PHP if statement consists of using if, elseif, and else.

11 years ago

Code
Nothing New Since Your Last Visit
7827
Hits

PHP & Delphi for PHP

Mike Prestwood
11. PHP Literals (quote or apostrophe)

In PHP you can use quotes, or apostraphies as in "Prestwood", and 'Prestwood'. Use a slash in front of a quote or apostrophe to embed same type as in \' and \".

12 years ago, and updated 11 years ago
(1 Comments , last by Uwais.Q )

Code

KB Post
Nothing New Since Your Last Visit
16119
Hits

PHP & Delphi for PHP

Mike Prestwood
12. PHP Logical Operators (and, &&, or, ||, !, Xor)

PHP logical operators:

and, && and, as in this and that
or, || or, as in this or that
! Not, as in Not This
Xor either or, as in this or that but not both

11 years ago

Code
Nothing New Since Your Last Visit
10344
Hits

PHP & Delphi for PHP

Mike Prestwood
13. PHP Overview and History

PHP is a hybrid language with both traditional PHP and OOP features. PHP is widely-used general-purpose scripting language that is especially suited for web development and can be embedded into HTML. PHP has been used to create some amazing web content, particularly outstanding message boards.

Target Platforms: PHP is most suitable for creating websites targeting any browser (any web server with PHP installed).

12 years ago, and updated 11 years ago

Code
Nothing New Since Your Last Visit
8977
Hits

PHP & Delphi for PHP

Mike Prestwood
14. PHP Report Tools Overview

Because website development targets a client browser (a document interfaced GUI), a common solution is to simply output an HTML formatted page with black text and a white background (not much control but it does work for some situations).

12 years ago, and updated 12 years ago

Code
Nothing New Since Your Last Visit
6494
Hits

PHP & Delphi for PHP

Mike Prestwood
15. PHP String Concatenation (.)

PHP uses a period (.) known as a dot to concatenate strings.

12 years ago, and updated 11 years ago

Code

KB Post
Nothing New Since Your Last Visit
10859
Hits

PHP & Delphi for PHP

Mike Prestwood
16. PHP Unary Operators

A unary operator operates on only one value.

PHP Examples:

  • ! negation operator
  • ++ increment operator
  • -- decrement operator
12 years ago, and updated 11 years ago

Code
Nothing New Since Your Last Visit
9362
Hits

PHP & Delphi for PHP

Mike Prestwood
17. PHP Variables ($x = 0;)

PHP is a loosely typed language. No variable types in PHP. Declaring and using variables are a bit different than in other languages. In PHP, you identify and use a variable with a $ even within strings!

You assign by reference with & as in &$MyVar.

12 years ago, and updated 11 years ago
(1 Comments , last by Guadalupe.W )

Code

KB Post
Nothing New Since Your Last Visit
12522
Hits

PHP & Delphi for PHP

Icon Legend:
Since your last logged visit:
- New to you or updated since your last visit (sign in now to activate).
- NOT new to you since your last visit (sign in now to activate).

New PHP & Delphi for PHP Knowledge Base Post...

Share your knowledge with the WORLD! In addition to adding comments to existing posts, you can post knowledge you've acquired. We welcome full articles (intro with screen shots), general posts (shorter), and tidbits (tips, FAQs, definitions, etc.).

Post New...

Tidbit Post: Short Flashcard FAQ Definition Quick Tip Code Snippet
Longer Post: Full Article General Post File Link Error News
Other: Blog Topic
Or, if YOU have a question...
  PHP & Delphi for PHP Message Board
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2020 Prestwood IT Solutions.   [Security & Privacy]