PHP Introduction to PHP Tips and Tutorials, Scripts resource, functions |
|
|
|
|
Introduction to PHP tutorials
|
|---|
You should encode string values while passing in an querystring. We use UrlEncode to Returns a string in which all non-alphanumeric characters except -_. have been replaced with a percent (%) sign followed by two hex digits and spaces encoded as plus (+) signs. .
| | Hits:229 Rate: 0.0(out of 5) Vote:0 Submit Date :2006-10-19 Rate It | Error | Review |
|
| | | |
|---|
This tutorial is an introduction to object oriented programming (OOP) with PHP. Upon finishing this tutorial, you should have the basic tools necessary to begin navigating the world of OOP. Throughout, we will build upon one example while key terms and nuances to OOP with PHP are introduced. In addition, some time will be spent showing how to integrate object oriented PHP with MySQL
| | Hits:162 Rate: 0.0(out of 5) Vote:0 Submit Date :2007-01-08 Rate It | Error | Review |
|
| | | |
|---|
In this code sample we will converting all applicable characters to HTML entities using htmlentities(). Using 'htmlentities' all characters which have HTML character entity equivalents are translated into these entities. .
| | Hits:149 Rate: 0.0(out of 5) Vote:0 Submit Date :2006-10-19 Rate It | Error | Review |
|
| | | |
|---|
Arrays are a large collection of key/value pairs can stores multible variables in a single variable. Arrays are an ordered map which each key could be mapped to a value.
| | Hits:136 Rate: 0.0(out of 5) Vote:0 Submit Date :2006-09-21 Rate It | Error | Review |
|
| | | |
|---|
Md5 is a very easy way to encrypt any stirng data. Following example take and encrypts a string. Remember that you could not dencrypt any data after encryption. .
| | Hits:136 Rate: 0.0(out of 5) Vote:0 Submit Date :2006-09-21 Rate It | Error | Review |
|
| | | |
|---|
array_fill() fills an array with num entries of the value of the value parameter, keys starting at the start_index parameter. Note that num must be a number greater than zero, or PHP will throw a warning.
| | Hits:125 Rate: 0.0(out of 5) Vote:0 Submit Date :2006-09-13 Rate It | Error | Review |
|
| | | |
|---|
Ok... I think i wrote this last year sometime... probably on a weekend when i was bored... But have a read anyway and tell me what i got wrong
| | Hits:124 Rate: 0.0(out of 5) Vote:0 Submit Date :2007-06-06 Rate It | Error | Review |
|
| | | |
|---|
Working with sessions in PHP is very basic. You can pass values to session as key/value pairs. To store and receive data from sessions are very easy to use.
| | Hits:102 Rate: 0.0(out of 5) Vote:0 Submit Date :2006-09-18 Rate It | Error | Review |
|
| | | |
|---|
Variables and the Echo Statement
| | Hits:96 Rate: 0.0(out of 5) Vote:0 Submit Date :2007-06-06 Rate It | Error | Review |
|
| | | |
|---|
A common problem that the early programming languages had was that there was no way of storing or reusing a piece of data throughout a program. With the introduction of variables, that problem was solved. Variables allow you to store and reuse data throughout your program, and, today, you'll find the use of variables in almost all programming languages including PHP!
In PHP, you create variables by using a $ mark before the name of your variable. Unlike other programming languages, you do not have to declare a variable before using it. All you have to do is give a variable name and give that variable a value.
| | Hits:87 Rate: 5.0(out of 5) Vote:1 Submit Date :2007-01-08 Rate It | Error | Review |
|
| | | |
|
|---|
Tutorial on you how to display the values of php variables in an alertbox/message box .Extremely useful php debugging technique
| | Hits:27 Rate: 0.0(out of 5) Vote:0 Submit Date :2008-08-19 Rate It | Error | Review |
|
|
|---|
This tutorial is aimed at an audience unfamiliar with the basic concepts of object-oriented programming (OOP). The intent is to provide a general overview of OOP with a view toward using PHP effectively.
| | Hits:28 Rate: 0.0(out of 5) Vote:0 Submit Date :2008-02-08 Rate It | Error | Review |
|
|
|---|
One of the first things most people want to know about PHP is what the initials stand for. Then they wish they had never asked. Officially, PHP stands for PHP: Hypertext Preprocessor.
| | Hits:0 Rate: 0.0(out of 5) Vote:0 Submit Date :2008-02-08 Rate It | Error | Review |
|
|
|---|
Ok... I think i wrote this last year sometime... probably on a weekend when i was bored... But have a read anyway and tell me what i got wrong
| | Hits:124 Rate: 0.0(out of 5) Vote:0 Submit Date :2007-06-06 Rate It | Error | Review |
|
|
|---|
Variables and the Echo Statement
| | Hits:96 Rate: 0.0(out of 5) Vote:0 Submit Date :2007-06-06 Rate It | Error | Review |
|
|
|---|
Use PHP to redirect yourself instantly to another page.
| | Hits:73 Rate: 0.0(out of 5) Vote:0 Submit Date :2007-02-09 Rate It | Error | Review |
|
|
|---|
This tutorial is an introduction to object oriented programming (OOP) with PHP. Upon finishing this tutorial, you should have the basic tools necessary to begin navigating the world of OOP. Throughout, we will build upon one example while key terms and nuances to OOP with PHP are introduced. In addition, some time will be spent showing how to integrate object oriented PHP with MySQL
| | Hits:162 Rate: 0.0(out of 5) Vote:0 Submit Date :2007-01-08 Rate It | Error | Review |
|
|
|---|
If/else statements are very useful because they allow your code to be expressed in certain situations but not in others. You can control when those situations occur by using control statements such as if/else.
| | Hits:2 Rate: 0.0(out of 5) Vote:0 Submit Date :2007-01-08 Rate It | Error | Review |
|
|
|---|
PHP is a great language that web developers such as yourself should know. PHP, which stands for PHP: Hypertext Preprocessor, is very useful for adding simple interactivity or communicating with databases. Best of all, PHP is not very complicated to learn.
Unlike other languages, PHP does not require rigorous training and a long time of practice before you can create anything useful or publically displayable. In fact, by the end of this tutorial, you will have created a web page that displays some text from a PHP script!
| | Hits:62 Rate: 0.0(out of 5) Vote:0 Submit Date :2007-01-08 Rate It | Error | Review |
|
|
|---|
PHP is not simply about outputting random values and simple text. You can seamlessly integrate PHP with HTML and output tables, formatted text, and more. You are probably wondering, what's the big deal about this? The deal is that you can control what is displayed on your site by integrating PHP and HTML. Best of all, PHP does not have its own set of formatting tags for you to learn. You use HTML.
| | Hits:77 Rate: 0.0(out of 5) Vote:0 Submit Date :2007-01-08 Rate It | Error | Review |
|
|
WebmastersHome.com Discussion about programming, SEO, WebHosting and more! |
|
Pages : 1 2 |
|