I.T. Discussion Community!
-Collapse +Expand
PHP
Search PHP Group:

Advanced
-Collapse +Expand PHP Store
PRESTWOODSTORE

Prestwood eMagazine

January 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
16054
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
14817
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
14233
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
13015
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
12642
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
12462
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
11560
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
10954
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
10855
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
10831
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
29 months ago, and updated 16 months ago
(8 Comments , last by Pervez.J )

Article
Nothing New Since Your Last Visit
4172
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
13015
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
7807
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
9220
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
10954
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
7889
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
9928
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
14233
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
7052
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
10831
Hits
Icon Legend:
Recent or not:
- Recent activity (within last two weeks).
- No activity last two weeks.
 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).

Follow PrestwoodBoards on: 


©1995-2020 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech