Questions tagged as 'null'

1
answer

Safari sends $ _FILE as being empty (NULL) via Ajax

I have an image upload script that works normally with Chrome, EDGE, Firefox and Opera. But it does not work with Safari. The Safari browser opens the windows window for me to choose an image. When it should upload, it sends the data of the chos...
asked by 22.06.2018 / 05:43
1
answer

How to check null fields in sql?

The trigger I have to do:    A user can only assign a rating to an offer if he has purchased it (reserve with estado = pago ). On the other hand, one of the two rating and comment attributes has to be NOT NULL . What I have do...
asked by 08.12.2017 / 02:00
1
answer

Appears null in place of the name retrieved

When I see the application, I see that in the variable nomedoHumano it appears null , and it was to appear the name of the user. Just below the Onclick method, I retrieve the typed name. I've already thought about putting...
asked by 14.10.2017 / 20:17
1
answer

Spring returning NULL in only one form field

I'm learning Java and am having a problem with a form using Spring. Until I found a similar problem here in the forum but a little different from mine. It is a basic login page, containing only two fields, login and password. The problem is t...
asked by 08.04.2017 / 19:45
1
answer

cURL with Google Maps Directions API returning null

Here is the code I'm using: $arquivo = "destino.json"; $info = file_get_contents($arquivo); $lendo = json_decode($info); foreach($lendo->rotas as $campo){ echo "<b>Origem:</b>...
asked by 19.12.2016 / 14:30
0
answers

Write null DateTime field in Access database (mdb)

Good afternoon everyone. Please, I need your help. I'm trying to write / update a Birth field of type DateTime, but this field will not always be filled, due to the business rule sometimes it will be null. The base used is the Access md...
asked by 18.08.2016 / 20:28
1
answer

My list continues to have tail and head as null

It was all going well until I noticed that the list is not populated, leaving my head and tail as null. Supposedly the program should read from an input file and fill the list within a cycle. Here is the code in question: package projectosa...
asked by 04.07.2016 / 13:11
3
answers

Return the row of a table when the value of count (field) is 0 in MySQL

I need that even when the search does not generate results, the value 0 is displayed, I tried with the following SQL search, but without success: SELECT c.categoria as categoria, CASE WHEN COUNT(c.categoria) IS NOT NULL THEN cou...
asked by 11.03.2018 / 02:25
1
answer

Modal passing data nullo

When writing in my modal the Controller receives Null. 1 - Modal Model @model WebAutenticado.Models.CAD_DEVP @{ Layout = "~/Views/Shared/_LayoutModal.cshtml"; } @using (Html.BeginForm()) { @Html.AntiForgeryToken()...
asked by 14.08.2017 / 01:16
1
answer

console.log returns null - Javascript [closed]

I'm new to JavaScript and not very handy .. When creating a simple console.log, it returns me first NULL, and then the value of the element .. I wonder what this NULL means? How to remove it? Is this normal? Here is the code for review:...
asked by 27.07.2018 / 20:02