DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
check input value is not empty or spaced php
if(empty(trim($myVar))) { echo "Error" } else { echo "success"; }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#check
#input
#empty
#spaced
#php
ADD COMMENT
Topic
COMMENT
Name
6+2 =
Submit