PHP 5.4.31 problem - error script when using : if empty(trim(var))

Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=w3mOYwsBHDY



Duration: 3:00
594 views
1


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


2016-10-14How to fixing phppgadmin cannot Dump .sql on ubuntu
2016-10-13Bootstrap Tutorial - Hidden some HTML element on window print
2016-10-09How to solving - Cannot Resolve Symbol 'HttpClient' on Android Studio
2016-09-01Tutorial PHPExcel - Basic to create excel file (set text, set autosize column and bold the text)
2016-08-28Problem modal bootstrap - modal closed suddenly
2016-07-17Codeigniter tutorial - Multiple upload with Codeigniter v2.2.6
2016-07-13Jquery problem (loop td $.each) - Uncaught TypeError Cannot use 'in' operator to search for '4' in
2016-07-12Datatables error - Uncaught TypeError Cannot set property 'nTf' of undefined when add footer
2016-07-11Delete a service on windows 7 with command prompt(CMD)
2016-07-11Download, install Apache 2.4 manually and add Apache service on windows 7
2016-07-10PHP 5.4.31 problem - error script when using : if empty(trim(var))
2016-06-26Centos problem - Another app is currently holding the yum lock; waiting for it to exit
2016-06-09XAMPP1.6.8 (PHP5.2.6) - Cannot modify header information - headers already sent when using system()
2016-06-06Winscp Tutorial - Create FTP website and access it with Winscp
2016-06-02jquery.caret.1.02.js error : Unexpected tokel ILLEGAL and msie undefined
2016-05-29Android problem - The apps cannot read SQlite Database at first time, but second time its works
2016-05-29PHP Tutorial - access (stdClass) Object property named as variable
2016-05-17Postgresql error : column "address" contains null values when trying to add column
2016-04-30Postgresql - Change error message to English or Italian
2016-04-27Java console - How to Connect Java to Mysql from command line (cmd)
2016-04-26Wamp error - localhost & phpmyadmin forbidden on google chrome



Tags:
variable
problem
error
PHP
condition script
empty
trim php
windows
localhost