ptutorial.com
Php Strlen Function | PHP Tutorial - pTutorial
http://www.ptutorial.com/php-function/php-strlen-function
New way to learn PHP function. PHP Change key Case. PHP Date and time Function. Strlen ( string ) ;. String to check (Required). It returns number of character in a string. Strlen function is used to find the length of a string. Strlen() often comes in useful if you want to validate a string to make sure it ’ s the correct length. For example, the following code makes sure that the string variable $name must be 5 characters long. Example of strlen function. Php $name="John"; if ( strlen( $name )!
ptutorial.com
PHP 5 Include-Function | pTutorial | PHP Tutorial
http://www.ptutorial.com/php-tutorial/php-include-function
New way to learn PHP. PHP pre define function. PHP Date and time. PHP 5 Include Function. How to use PHP include function. The include () function enables you to embed PHP script into another PHP scripts. It's used for embedding library code in multiple pages. Syntax of include function. Include ( path );. There are two file abp.php and xyz.php, that have some code means both file print something. Php echo "@ @ @ @ @ @ @ @ @ @ @ @ @ @ @. Echo "First file content. Echo "Working with include function.
ptutorial.com
PHP Function And PHP 5 function - pTutorial
http://www.ptutorial.com/php-function
New way to learn PHP function. PHP Change key Case. PHP Date and time Function. PHP example or small projects. In this section you can learn a lot of PHP function that are very use full for web development. Given below is a list of PHP function and PHP source code for web development all of them are provided for fee. All of them have two or more example to explain the concept. PHP Array Function Example. PHP Change Key Case. PHP Search An Array. PHP Array Sum Function. PHP String Function Example. Php $n...
ptutorial.com
Shell Script Example - pTutorial
http://www.ptutorial.com/shell-script-example
New way to learn Programming. What is shell script? A shell is basically interface between us and Unix kernel. A Unix / Linux shell is a command line interpreter or environment for user interaction for the Unix / Linux based operating system. In which we can execute command, combination of command, shell scripts read from the input device or from a file. What can do shell? There are different shell available with Linux including. Bash (/bin/bash) Bourne again shell. Turbo C Shell (/bin/tcsh).
ptutorial.com
PHP 5 Class and Object Oriented Programming - pTutorial
http://www.ptutorial.com/php-tutorial/php5-classes
New way to learn PHP. PHP5 self and parent. A class is a unit of code that describes the characteristics and behaviours of something, or of the group of things. A class called Car, for example, would describe the characteristics and behaviours common to all cars. Data members are also variable but difference is that they are in encapsulated form. A property is a variable inside the class which can contain some information. Like Name is the property of student class. Creation of PHP Classes. Class Compute...
ptutorial.com
PHP Function - pTutorial
http://www.ptutorial.com/php-function.php
New way to learn Programming. PHP Date and time. In this tutorial we will focus on PHP MYSQL functions like MYSQL connect, MYSQL select db, MYSQL close($link) etc. PHP provides a lot of predefined MYSQL functions to connect to the MYSQL database and manipulate the data from MYSQL database. You can easily call PHP MYSQL function like normal PHP function. Some of all are following below. MYSQL connect(server, user, pass, new link, client flag);. Url or ip of the MYSQL server(optional). QUOTES OF THE DAY.
ptutorial.com
How To Generate Random Numbers In PHP - pTutorial
http://www.ptutorial.com/php-example/php-random-number
New way to learn PHP Example. How to generate random number or id. Rand () function is used to generate a random number it takes two integer optional parameters. You can use mt rand () function that generates a random number faster than and rand function function. Simple method to generate unique number within specific range. Php $r=rand(200,500); printf("Unique number =%d. Start point = 10. End point = 100. Generate random number without specific range. Php $r=rand(); printf(" Number =%d",$r);? In this ...
ptutorial.com
PHP Example - pTutorial
http://www.ptutorial.com/php-example.php
New way to learn Programming. PHP pull Down menu. How to get value from check boxes. What is check box? Like radio button, Check box is used to get one or more than one value while in case of radio button you can get only on value. In this PHP example we will learn how to get multiple value from check boxes with the help of array. Here is the example to get multiple value from the form. In the above PHP example, we used form with checkboxes and simple access with the help of array. Php get post method.
ptutorial.com
PHP Captcha And PHP Captcha Example - pTutorial
http://www.ptutorial.com/php-example/php-captcha
New way to learn PHP Example. PHP pull Down menu. Captcha is computer program that differentiate the human and computer. It is used to prevent spamming and automated data of website. Captcha test prevent the automated software to interacting servers. PHP script to create the captcha. Html head style h3 { font-size:18px; color:#AA0000; } /style /head form method="post" table border="1" tr td? Php error reporting(1); echo $sum. " = ";? Input type="hidden" name="j2" value="? Php echo $r;? QUOTES OF THE DAY.
SOCIAL ENGAGEMENT