PHP and MySQL Web Development: Master the Concepts of PHP: A Step By Step Process by ANMOL GOYAL

PHP and MySQL Web Development: Master the Concepts of PHP: A Step By Step Process by ANMOL GOYAL

Author:ANMOL GOYAL
Language: eng
Format: azw3
Published: 2017-09-08T07:00:00+00:00


Example

Following is the piece of code, copy and paste this code into a file and verify the result.

<?php

$ip = "123.456.789.000"; // some IP address

$iparr = split ("\.", $ip);

print "$iparr[0] <br />";

print "$iparr[1] <br />" ;

print "$iparr[2] <br />" ;

print "$iparr[3] <br />" ;

?>

This will produce the following result −

7)PHP - Function sql_regcase()

Syntax

string sql_regcase (string string)

Definition and Usage

The sql_regcase() function can be thought of as a utility function, converting each character in the input parameter string into a bracketed expression containing two characters.

If the alphabetical character has both an uppercase and a lowercase format, the bracket will contain both forms; otherwise the original character will be repeated twice.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.