How to insert PHP code into HTML?

To be able to use php code on a page with an extension other than .php, you need a server which supports .htaccess files.
To add an extension to be parsed for php, create or edit a file called .htaccess (with the dot first) containing the following line: (more…)

Posted in Apache, Php Study. Comments Off on How to insert PHP code into HTML? »

fwrite() example

Description
int fwrite ( resource $handle , string $string [, int $length ] )
fwrite() writes the contents of string to the file stream pointed to by handle . (more…)

Posted in Php Functions, Php Study. Comments Off on fwrite() example »

chr — Return a specific character

Description
string chr ( int $ascii )
Returns a one-character string containing the character specified by ascii . (more…)

Posted in Php Functions, Php Study. Comments Off on chr — Return a specific character »
12
King Php Science Welcome, you are from: 54.80.140.5