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

Advanced
-Collapse +Expand PHP Store
PRESTWOODSTORE

Prestwood eMagazine

April Edition
Subscribe now! It's Free!
Enter your email:

   ► KB ►► Website Scri...PHP   Print This    All Groups  

PHP & Delphi for PHP Most Read KB Posts

Page Contents


Most Read KB Articles Since 3/28/2008

PHP & Delphi for PHP Group

  KB Article    

Mike Prestwood
1. 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 \".

Posted to KB Topic: Beginners Corner
12 years ago, and updated 11 years ago
(1 Comments , last by Uwais.Q )

Code

KB Post
Nothing New Since Your Last Visit
16193
Hits

Mike Prestwood
2. 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!)

Posted to KB Topic: Beginners Corner
12 years ago, and updated 11 years ago

Code

KB Post
Nothing New Since Your Last Visit
14992
Hits

Mike Prestwood
3. Download PHP (Install it)

Download page from PHP.Net.

Posted to KB Topic: Beginners Corner
12 years ago, and updated 10 years ago

Download

Article
Nothing New Since Your Last Visit
14400
Hits

Adam Lum
4. A 10 Minute PHP Quick Start

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

Posted to KB Topic: Beginners Corner
14 years ago, and updated 10 years ago
(3 Comments , last by Robert.G3 )

KB Post
Nothing New Since Your Last Visit
13198
Hits

Mike Prestwood
5. Delphi PHP V

What PHP version does Delphi for PHP support?

Posted to KB Topic: Delphi for PHP
12 years ago, and updated 10 years ago

FAQ
Nothing New Since Your Last Visit
12800
Hits

Mike Prestwood
6. 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.

Posted to KB Topic: Beginners Corner
12 years ago, and updated 11 years ago
(1 Comments , last by Guadalupe.W )

Code

KB Post
Nothing New Since Your Last Visit
12596
Hits

Mike Prestwood
7. PHP Custom Function (function)

PHP uses functions and loosely typed parameters. Function definitions can come before or after their usage so my preference when mixing PHP in with a mostly HTML page is to put the functions after the </html> tag.

Posted to KB Topic: Language Reference
12 years ago, and updated 11 years ago

Code

KB Post
Nothing New Since Your Last Visit
11689
Hits

Mike Prestwood
8. Changed PHP Global Variables PHP has become more conformed to CGI specifications and as such, you will need to make changes to your code in order for global variables to be filled in.
Posted to KB Topic: PHP
17 years ago
(2 Comments , last by Ginger_N._Wheel)

KB Post
Nothing New Since Your Last Visit
11078
Hits

Mike Prestwood
9. 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).

Posted to KB Topic: Beginners Corner
11 years ago

Code
Nothing New Since Your Last Visit
11002
Hits

Mike Prestwood
10. PHP Code Blocks ({ })

In .PHPhtml pages, you embed PHP code between <?PHP and ?>.

For PHP, JavaScript, Java,and C++, I prefer to put the first { at the end of the first line of the code block as in the example above because I see morePHP codeformatted that way (and on PHP.Net).

PHP Alternative Syntax

Although I don't like to use it, PHP offers an alternative syntax for if, while, for, foreach, and switch. These code blocks are surrounded by statement ending keywords that all use End with camel caps such as endif, endwhile, endfor, endforeach,and endswitch.

Posted to KB Topic: PHP
12 years ago, and updated 11 years ago

Code
Nothing New Since Your Last Visit
10958
Hits



Most Read by Members

PHP & Delphi for PHP Group

  KB Article    

Douglas.M
1. An Easy to Use PHP Email Blast Utility

This article describes a simple to use PHP program I made for performing a mass email “broadcast” or “blast” to a mysql database full of email addresses.

Posted to KB Topic: PHP
32 months ago, and updated 19 months ago
(9 Comments , last by Knox.W )

Article
Nothing New Since Your Last Visit
4330
Hits

Adam Lum
2. A 10 Minute PHP Quick Start

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

Posted to KB Topic: Beginners Corner
14 years ago, and updated 10 years ago
(3 Comments , last by Robert.G3 )

KB Post
Nothing New Since Your Last Visit
13198
Hits

Mike Prestwood
3. PHP Development Tools

Many developers just use a text editor. There are many PHP editors available including phpDesigner, and Delphi for PHP.

Posted to KB Topic: PHP
12 years ago, and updated 11 years ago
(1 Comments , last by Anonymous )

Code
Nothing New Since Your Last Visit
7895
Hits

Adam Lum
4. PHP and MySQL Basics The basics to get you going in PHP with a MySQL Database.
Posted to KB Topic: PHP
14 years ago, and updated 12 years ago
(1 Comments , last by Nicole.A )

KB Post
Nothing New Since Your Last Visit
9340
Hits

Mike Prestwood
5. Changed PHP Global Variables PHP has become more conformed to CGI specifications and as such, you will need to make changes to your code in order for global variables to be filled in.
Posted to KB Topic: PHP
17 years ago
(2 Comments , last by Ginger_N._Wheel)

KB Post
Nothing New Since Your Last Visit
11078
Hits

Mike Prestwood
6. PHP Assignment (=)

PHP uses = for it's assignment operator.

Posted to KB Topic: Beginners Corner
11 years ago
(1 Comments , last by Karian.S )

Code
Nothing New Since Your Last Visit
8017
Hits

Mike Prestwood
7. .PHP Execute Rights Do PHP scripts need execute rights?
Posted to KB Topic: Beginners Corner
12 years ago
(1 Comments , last by quick.e )

FAQ
Nothing New Since Your Last Visit
10013
Hits

Mike Prestwood
8. Download PHP (Install it)

Download page from PHP.Net.

Posted to KB Topic: Beginners Corner
12 years ago, and updated 10 years ago

Download

Article
Nothing New Since Your Last Visit
14400
Hits

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

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

Posted to KB Topic: Beginners Corner
12 years ago, and updated 11 years ago
(1 Comments , last by bukrans.m )

Code
Nothing New Since Your Last Visit
7146
Hits

Mike Prestwood
10. PHP Code Blocks ({ })

In .PHPhtml pages, you embed PHP code between <?PHP and ?>.

For PHP, JavaScript, Java,and C++, I prefer to put the first { at the end of the first line of the code block as in the example above because I see morePHP codeformatted that way (and on PHP.Net).

PHP Alternative Syntax

Although I don't like to use it, PHP offers an alternative syntax for if, while, for, foreach, and switch. These code blocks are surrounded by statement ending keywords that all use End with camel caps such as endif, endwhile, endfor, endforeach,and endswitch.

Posted to KB Topic: PHP
12 years ago, and updated 11 years ago

Code
Nothing New Since Your Last Visit
10958
Hits
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).
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


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