HOME
|
HOSTING COUPON
|
TEMPLATE
|
PHP SCRIPTS
|
LINK TO US
|
LINK
|
REGISTER
|
CONTACT
::: Member Login :::
Username
Password
Forgot your password ?
::: PHP Tutotal :::
PHP Basic
(7)
PHP Advanced
(4)
PHP Database
(2)
Coding Step By Step
(8)
PHP and AJAX
(0)
::: PHP Example :::
Arrays
(1)
Code Highlighters
(3)
Database Functions
(12)
Date & Time
(5)
E-Mail
(6)
Forms
(5)
Guestbooks
(1)
Logging
(2)
Miscellaneous
(10)
Password Generators
(3)
Randomizers
(3)
String Manipulation
(10)
User Authentication
(6)
::: Search On T4VN :::
Search On Tutorials
Search On Example
Search On News
::: T4VN Statistics :::
PHP Scripts : 65
PHP Example : 67
PHP Tutorials : 21
PHP News : 93
Total Coupon : 36
Other Tutorials :
Member : 266
::: Sponsored Links :::
Home
Today :
PHP TUTORIALS
An Introduction to Arrays
What is an array?
Arrays can most easilly be described as an ordered list. An array is a list of scalar data (If you don't know what a scalar variable is, you should take a look at my first tutorial. Scalar data in arrays are called 'elements'.) that is 'indexed' (so to speek) with numeric or named keys. A 'key' is either a name or a number given to an element in an array as a reference (if a key is numeric, it is called a 'subscript').
Introduction to Output Buffering
The output buffering functions of php aren't well known (yet), but are nevertheless extremely useful. These functions give you more control over the output generated by your scripts than you would normally have, and in some cases, this control is essential. Not only do you have control over when, where, and why your output is displayed, but you can also control how the output is handled. In this tutorial I hope to cover the general idea behind output buffering, as well as a few common uses.
Sorting an Array in PHP
Now and then you need to sort your arrays alphabetically or numerically, if nothing else, then just to apply some programming logic and attain the desired output.
Introduction to SQL - The SQL Language
SQL is a tool for organizing, managing, and retrieving data stored by a computer database. The acronym SQL is an abbreviation for Structured Query Language. For historical reasons, SQL is usually pronounced "sequel," but the alternate pronunciation "S.Q.L." is also used. As the name implies, SQL is a computer language that you use to interact with a database. In fact, SQL works with one specific type of database, called a relational database.
Sending Simple Text Emails
A text email is the simplest email you can possibly send. The code you can use is easy to create and send one is easy too. Firstly I will show you how to send basic text emails from strings coded into the script, then I will finish off this section with a example that uses forms to send form data to an email.
An Introduction to Mcrypt and PHP
In this tutorial you will learn how to encrypt and decrypt data using PHP's Mcrypt functions. The Mcypt library (http://mcrypt.sourceforge.net/), makes encryption/decryption extremely easy to implement. Mcrypt supports a wide variety of encryption mode and algorithms depending on your needs. In this tutorial, I will not cover all of the modes and algorithms that mcrypt is capable of, but rather, I will provide a simple interface for securing information via mcrypt and php. While mcrypt does provide decent encryption, no encryption is unbreakable, so you are forewarned that storing encrypted information in database or similar can still be insecure.
Random Title Generator using Arrays
I have always wanted to have a simple Random Title Generator for some of my sites because it would be something rather fun. I know of many Javascript-based ones, but it would 1) Give away how I did it and 2) It would not work on some browsers. So, That has always persuaded me not to do it. Until I saw a nameless site touting it and would not give away how it worked. Well, Now I know how it works and now it is my time to share.
PHP Includes
PHP includes are a great way to make editing sites easier. By creating a template and replacing the content with this PHP script, it will allow the page to get separate content files, with only the content in them. This is helpful as only one file needs to be changed when the template is edited.
Previous
1
2
3
Next
::: Resources :::
Links Directory
Suc Khoe Viet
Programming
2
3
Webmaster
2
3
Web Design
2
3
Web Hosting
2
3
Other Links
2
3
Asian ShowBiz News
Teach Seo For You
Đào Tạo PHP
Thai Cuc Quyen
::: New Templates :::
::: Other Tutorials :::
Program Design
Powered By
T4VN.NET
- Version 2.0 - CopyRight © T4VN.NET 2005-2007