Related Tutorials/Questions & Answers:
If function in PHPIf
function in PHP Hi,
Provide me the example of If
function in
PHP.
ThanksADS_TO_REPLACE_1
Hi,
If
function is
PHP is used to check... of if()
function in
PHP:ADS_TO_REPLACE_2
$book="
PHP";
if($book=="
PHP"){
echo "Book
Advertisements
variable function in phpvariable
function in php Can any one tell me how to write a variable
function in
PHP?
Go through the
PHP Variable
function tutorial ...
PHP Variable
Function What is the microtime() Function PHP ? What is the microtime()
Function PHP ? Hi,
What is microtime()
Function in
PHP? What is the role of Microtime()
Function in
PHP. Please suggest me any online reference.
Thanks
array_merge function in php - PHParray_merge
function in php What is the best use of array_merge
function in
php? Hi Friend,
Please visit the following links:
http://www.roseindia.net/tutorial/
php/phpbasics/
PHP-Array-Merge-Recursive.html
http
Eval Function in PHPEval
Function in PHP Hello
PHP experts,
Please tell me about Eval()
Function in
PHP. How to use Eva()
function in
PHP?
ThanksADS_TO_REPLACE_1
Hi,
The Eval()
function is
PHP is very handy. It allows to you store
Array Sizeof Function PHPArray Sizeof
Function PHP Hi,
How to count the number of elements in an array using the
PHP Array sizeof()
function? Please provides me online help links or example of array sizedof()
PHP.
Thanks
PHP idate() Function help related to
PHP idate()
Function. I waiting for your valuable suggestion.
Thanks,
Hi,
The idate()
Function in
PHP will returns a string... time if no timestamp is given.
Syntax of
PHP idate()
Function :...
int idate
php function callphp function call I have an
function in error-status.php like this
function validateHostName($hostName)
{
if((strpbrk($hostName,'`~!@#$^&... to cal this
function in my other page which is datetime.php how it is
posible
Eval () PHP Function, Example of Eval () PHP FunctionPHP eval()
Function
In this tutorial we will learn about the
PHP eval()
function. The
php eval()
function can be used if you want to store the
php command... eval()
function:
The
PHP eval()
function evaluates the passed string parameter
How to use the PHP filetype() FunctionHow to use the
PHP filetype() Function Hi,
What is the use of filetype()
Function in
php programming. Can anyone give any online example of the
PHP filetype()
Function.
Thanks
PHP file_get_contents() FunctionPHP file_get_contents() Function Hi,
How do i read the content of file using
PHP program? So kindly provide any example or online help reference for filegetcontents()
Function in
PHP. Please feel free to suggest.
Thanks
How to Declare fflush() Function in PHPHow to Declare fflush()
Function in PHP Hi,
Can someone give my any online example for write all the buffered data of an open file. Is it appropriate to use the
PHP fflush()
Function to develop this application? Please suggest
feof() Function in php
Examples of the feof()
function in
PHP
Syntax on feof()
function in PHPADS_TO_REPLACE_1
bool feof ( $file_pointer )
It is used for checking the end...()
function in PHPADS_TO_REPLACE_3
<?
php
$file1=fopen("c:/rose1/ram
PHP Variable Outside FunctionPHP Variable Outside
Function
In
PHP Functions, a variable can be called...
Function Example 1 :
<?
php
$text =
"I am employee of ROSE... on your screen or browser.
Example 2 :ADS_TO_REPLACE_5
<?
php
function PHP lstat() function and example
Syntax for
PHP Istat()
Function
array lstat
(file_name)
PHP Istat()
Function states about the regular file and symbolic file information
PHP Istat()
Function will returns the data in Array form
PHP Istat()
Function PHP function ftruncate and example Syntax
int ftruncate(file_handle,length)
ftruncate
function truncates the file content with the given length.
And it returns the truncated file size.
PHP ftruncate()
Function Example
CodeADS_TO_REPLACE_1
<?
php
$file1
PHP is_executable() Function and example
Syntax
bool is_executable(file_name)
Find the
PHP is_executable()
function states whether the given file is executable or not
ADS_TO_REPLACE_1
Example of
PHP is_executable Fu
Code
<?
php
PHP filesize() function and example
Syntax
int filesize(file_name)
It gives the size in bytes.
Example of filesize()
Function in
PHP
<?phpADS_TO_REPLACE_1
$size=filesize("c:/rose1/ram.txt");
echo
PHP function ftell() with example
Syntax
int ftell(file_handle)
ftell()
function gives the current position of the file pointer.
using the file handler in bytes.
ADS_TO_REPLACE_1
Example of
PHP ftell()
Function
Code
<?
php
$file=fopen("roseindia.txt","r
What is the use of Print or Echo Function in PHP?What is the use of Print or Echo
Function in
PHP? Hi,
Can anyone explain what is the use of print or Echo
function in
PHP? Please provide online... or Echo
Function in
PHP are same. But on comparing we can say that echo
function PHP is_writable Function with example
Syntax for
PHP is_writable
Function
bool is_writable(file_name)
It states whether the given file is a writable file or not.
Example of
PHP is_writable
Function
Code
<?
php
$a=is_writable("c
PHP fseek() function and example
Example of
PHP fseek()
Function PHP
Code code for fseek()
Function in
PHP
<?
php
$file=fopen("roseindia.txt","r");
echo fread($file,240);
echo
php date function - Date Calendarphp date function Hi,
I am new to
PHP. I am trying to get date from database. But, every time the date under 1970, it changes to 1970. Im...: 1960-12-02 (type is date )
In
PHP :
$dob= " 1960-12-02
PHP filemtime() Function and examples
Syntax
int filemtime(file_name)
Gives the modification time in integer form of the file
Use Date()
function to change it to proper format
PHP filemtime()
function Example
<?
php
$time = time
The PHP Date() Function
The
PHP Date()
Function
The
PHP date()
function is used for formatting... date and time. No installation is necessary for using this
function. ADS...; are also been used for adding additional formatting. For example:
<?
php
echo
PHP fscanf() function and example of
PHP fscant()
Function PHP
Code for
PHP fsscant() Unction
PHP
<?
php...
Syntax
mixed fscanf file_handle,format_specifier [, mixed &$... ] )
fscanf()
function reads the contents of the file according
to the given
PHP Implode() functionPHP implode()
function
In
PHP, conversion of an array to string is done by implode()
function. The implode()
function puts the separator (In general we use... with a separator between each element
PHP implode()
Function Example 1:ADS
PHP Date functionPHP Date
Function
In this section we will show you the different formatting options available in the
PHP Date
function
PHP date()
function provides many... in the
PHP.
FORMATADS_TO_REPLACE_2
Function fclose() in php, PHP Close file, fclose php
The example of fclose()
function in
php.
If you have opened any file..._TO_REPLACE_3
It works with
PHP 4,
PHP 5
Code for fclose()
Function in
PHP
<?phpADS... the file pointer. The fclose()
function is used to close the find pointer.ADS
PHP date functionPHP Date()
Function
PHP Date()
function is used to display the date and time in a précised
format. With the help of
PHP date
function you can format... provided by
PHP in date
function.
Also,
PHP provides number of functions
PHP date add function
PHP Add Date
function - date_add or DateTime::add
function
The date_add
function or DateTime::add
function adds an amount of days, months, years, hours and seconds to a DateTime object. This
function works in
PHP 5.3.0 and above
PHP Echo FunctionPHP Echo
Function
As you know echo () is one of the
function of
php, which... the echo
function as given below…
<
php
Echo “hi how are you... to it. And just write “echo $variablename; ADS_TO_REPLACE_1
PHP Echo
Function PHP flock() Function and Example processes when the file
has lock
ADS_TO_REPLACE_1
Example of
PHP Flock()
Function
Code for flock()
function PHP
<?
php
$file = fopen("c:/rose1/ram... and
doesn't allow for writing
Code
<?
php
$file =
fopen("c
PHP GD imagesetbrush() Function
<?
php
$
php =
imagecreatefromjpeg('im.jpg');
$im...,
$
php);ADS_TO_REPLACE_2
imageline($im,
50, 50,
50, 60,
IMG_COLOR_BRUSHED...
imagedestroy($im);
imagedestroy($
php);
?>ADS_TO_REPLACE_4
After running