Most voted "empty" questions
6 questions
Sort by count of
-
9
votes2
answers495
viewsParse error given when checking variables with the Empty() function
I have a little problem in my PHP when I step over a variable to check separated by comma it generates a parse error. Look at my code below: if (isset($_POST['btnCriaTempo'])){ $ordem =…
-
7
votes3
answers6427
viewsWhen should I use Empty or isset?
I noticed that some people have doubts about the use of these two functions, or if they have no doubts, they seem to apply unnecessarily one of these functions, and in certain cases the other serves…
-
5
votes1
answer3362
viewsHow to create an empty block?
How do I create an 800px high EMPTY+TRANSPARENT block per 1000px width? And because the code below doesn’t work for that? html <div class="block"></div> css .block { height: 800px;…
-
0
votes1
answer90
viewsProblems checking out Empty()
I’m having trouble checking a string using EMPTY(), it’s as follows. If I throw space into it " " it ceases to be empty.. and ends up inserting in the database the empty value, how can I solve this,…
-
0
votes1
answer231
viewsHow to get first value returned by foreach
Personal I am new in programming and I am trying to solve my problem with foreach... I have a foreach that returns me the groups of photos that have photos in them... however I need to take the…
-
0
votes2
answers201
viewsReturn an "error" message if the mysql query returns empty
Guys I’m starting now in PHP, and I wanted a little help, I need a page to return a message saying that the bank is empty, but I’m not getting, here’s my code: </head> <body> <table…