PHP MYSQL Programming, For Beginners, Quick Start Guide. by Ray Yao

PHP MYSQL Programming, For Beginners, Quick Start Guide. by Ray Yao

Author:Ray Yao [Yao, Ray]
Language: eng
Format: azw3
Publisher: Step by Step Tutorial eBook & Book
Published: 2020-08-05T16:00:00+00:00


Explanation:

After using the file myfile. txt, fclose( $openfile ) closes the opened file.

Exercise: Extract Sth .

substr( ) Demo

Open your favorite PHP editor, write following codes to it:

<html>

<?php

echo 'substr("JavaScript in 8 Hours! ",4,6) returns: '. "<br>";

echo substr("JavaScript in 8 Hours! ",4,6). "<br><br>";

echo 'substr("JavaScript in 8 Hours! ",11) returns: '. "<br>";

echo substr("JavaScript in 8 Hours! ",11). "<br><br>";

?>

</html>

“Save ” the file with name “substrDemo. php”, and run the program.



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.