clean function in php
/*** clean FUNCTION IN PHP
PHP provides functions that help to clean up strings by removing
unwanted whitespace or other characters from the beginning and/or
end of the string: trim , rtrim , and ltrim.
***/
Example
clean($request->description)
/*** strip_tags FUNCTION IN PHP
PHP also provides another type of cleanup function: strip_tags
which removes HTML and PHP tags from strings.
***/
Also in PHP:
- assign $variable of key value pair array to multiple variables php
- check if id is in key array php
- encode base 64 php
- check if current page is home url wordpress
- Which of the following function returns the number of characters in a string variable?
- How to use mbstring on Heroku (PHP)
- check if array value exists in another array php
- Best Image Manipulation and Graphs tools for php
- Arr::get laravel
- current time not current date php
- alter row in table laravel
- What parameter should you enable if you wish for your browser to show all errors?
- How to show php text
- SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767
- fetch visitor ip address php
- api header php
- $name = $name; "Robert" echo;
- How to add validation form image in laravel
- clear cache php artisan
- display contents of a folder php
- cpt url rewrite
- CREATE SEEDERS FROM DATABASES
- check composer version php
- Artisan namespace