PHP 5.4.31 problem - error script when using : if empty(trim(var))
Channel:
Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=w3mOYwsBHDY
i have problem with my script when using empty(trim(var)) on PHP 5.4.3. Finally, I find a solution how to fixing :
- Move trim(var) into a new var1.
- And then check again with empty(new var1).
---- error script like this ----
Can't use function return value in write context in ..
Other Videos By Ambar Hasbiyatmoko
Tags:
variable
problem
error
PHP
condition script
empty
trim php
windows
localhost