PHP

PHP: Hypertext Preprocessor) is a computer scripting language, originally designed for producing dynamic web pages. It is mainly used in server-side scripting, but can be used from a command line interface or in standalone graphical applications.

While PHP was originally created by Rasmus Lerdorf in 1995, the main implementation of PHP is now produced by The PHP Group and serves as the de facto standard for PHP as there is no formal specification. Released under the PHP License, the Free Software Foundation considers it to be free software.

PHP is a widely-used general-purpose scripting language that is especially suited for web development and can be embedded into HTML. It generally runs on a web server, taking PHP code as its input and creating web pages as output. It can be deployed on most web servers and on almost every operating system and platform free of charge.[5] PHP is installed on more than 20 million websites and 1 million servers, although the number of websites with PHP installed has declined since August 2005.It is also the most popular Apache module among computers using Apache as a web server.The most recent major release of PHP was version 5.2.6 on May 1, 2008.

[ belajar php ] - Mengelola variabel ( isset ( ), unset ( ), empty ( ) )

Tuesday, January 27, 2009 ·

belajar php - Teknik dasar PHP, dan utnuk belajar php mesti tahu tentang Mengelola variabel. Jika anda belajar php, dipastikan anda selalu akan menemui variabel. Maka dari itu dituntut dalam blajar php, diharuskan bisa mengelola variabel. implemetasi pembuatan kode program php, secara garis besar ada tiga konstruksi bahasa digunakan untuk mengelola suatu variabel, yaitu isset(), unset(), empty()



1. isset
isset() digunakan untuk menyatakan variabel sudah diset atau tidak. Jika variabel sudah diset makan variavel akan mengembalikan nilai true, sebaliknya akan bernilai false


2. unset
unset()merupakan kebalikan dari isset(), yaitu untuk meng-unsetvariabel, dan membebaskan memory yang sudah digunakan.

3. empty
empty(), digunakan untuk memerikasa apakah variabel form tidak dikirim atau tidak berisi data alias kosong. berbeda denagn isset(), yang mengembalikan nilai false pada variabel yang di-unset, empty() akan mengembalikan nilai true

Site Sponsors

About this blog

Selamat datang Di Blog PHP & MYSQL
Blog ini akan membahas tentang PHP manual, Tutorial PHP, TIPS & TRIKS PHP, Keamanan Code-PHP, Function PHP, Class PHP...

Blog ini juga membahas dasar-dasar Belajar PHP , belajar basis data atau database MySql, memanipulasi data MySql, script untup convert Mysql to Text, convert text to MySql dengan PHP, report dengan PDF, report dengan Excel, dan Aplikasi Barcode dengan PHP, dan beberapa contoh-contoh script yang bisa di implementasikan....

XML

The Extensible Hypertext Markup Language, or XHTML, is a markup language that has the same depth of expression as HTML, but also conforms to XML syntax.
Adsense Indonesia

REQUEST TUTORIAL PHP