PHP » GoLang |
login |
register |
about
|
fgetss(PHP 4, PHP 5, PHP 7) fgetss — Gets line from file pointer and strip HTML tags Description
string fgetss
( resource
$handle
[, int $length
[, string $allowable_tags
]] )Identical to fgets(), except that fgetss() attempts to strip any NUL bytes, HTML and PHP tags from the text it reads. Parameters
Return Values
Returns a string of up to
If an error occurs, returns
Example #1 Reading a PHP file line-by-line
<?php The above example will output something similar to: Welcome! Today is the of . Text outside of the HTML block. Notes
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|