Questions tagged as 'null'

1
answer

Establish at least one number in EditText

My question is: Is there any way to prevent the click of a button if an EditText has no number? I was able to limit minimum and maximum values (0 to 255), but I could not find a solution to this problem. Because "" is not an integer value, by...
asked by 09.05.2014 / 19:56
1
answer

Create a new table for optional values

Having trouble creating a new table for fields that are not required? For example in the address table (cod_endereco, pasadouro, cep, number, complement) where complement is an optional field, and when a user inserts data the table does not have...
asked by 06.07.2018 / 04:26
1
answer

Returning the NULL value

Someone can help me, I am making a code to insert data into a table in the database and update too, but unfortunately it is not working, all variables are giving NULL and the code itself that selects the table too gives NULL when I...
asked by 16.02.2017 / 04:22
1
answer

How to return results with integers and nulls?

I'm trying to set up a Query but they are not having success, in my database I have 28 information with code 32, and 62 information with code 23, but there is information with the null code, and I wanted to bring them all together , the problem...
asked by 16.08.2016 / 13:30
1
answer

Error changing password in login system with PHP SQL Server

Good afternoon, I'm having a big problem where I can not change the password on the system. What is driving me is that it seems that sqlsrv_fetch_array works differently from mysql_fetch_array, I have a code like that using MySQL and it works fi...
asked by 06.10.2016 / 22:44
0
answers

Select MYSQL, list row not present in table NULL

I'm doing a hotsite with a quiz (questions and answers), with more than 3000 users. The question is in the list of quizes for each user, I have two tables (I simplified to focus on my doubt): QUIZ: (which stores all the quizes created by ad...
asked by 16.08.2016 / 15:20
0
answers

How to read xls in javascript

Hello, I am studying some "communication" between php and javascript, I am a beginner and I am a few days with a problem that I can not solve, in php I am generating an xls with DB data function buscaLocalizacoes($conexao){ $resultado = my...
asked by 05.07.2016 / 20:20
0
answers

Symfony2 - Only one field has its value read, the rest of this field is NULL when submitting form

I have two related tables: material and items_budget . The items_budget table has a form that has a field that lists the name of all the material in a group of checkbox , and next to each checkbox has two % fields, one for q...
asked by 21.09.2015 / 03:58
1
answer

I get NULL from STRTOK?

Hello, I'm using strtok to split a string into words. My idea was to follow the word REMOVE deleted the next word from the text. void algorithm(node **root, char *line){ char *pch = strtok(line, " "); while(pch != NULL){...
asked by 09.03.2014 / 13:09
3
answers

Returning (Null) when displaying a variable String

The program should receive a person's name and gender and show the data entered by the user, but when the program shows the name I typed it is appearing Null instead of showing the name. #include <stdio.h> #include <stdlib.h> #inclu...
asked by 27.09.2018 / 16:54