Questions tagged as 'mysql'

1
answer

Select multiple Mysql

I need to fetch data from a table and complete it with data from another table ... Main table: agendatelefone Secondary table: neighborhood principal: [{"id":1,"tipo":"delivery","nome":"aaa","telefone":983585042,"endereco":"26 de outub...
asked by 09.03.2016 / 19:11
1
answer

Error passing value in variable where clause in SQL in ASP

Follow the code below Even if the items in the id exist ... pass directly and only show the value of the variable3 What am I doing wrong? <% variavel1 = LCase(Request.ServerVariables("URL")) variavel2 = LCase(Request.ServerVariables(...
asked by 09.03.2016 / 15:53
0
answers

Do not display null lines in mysql results

I have a simple mysql query SELECT usr_contact FROM $usr_ I use PDO to connect this table has rows that have empty fields so ----------------------- | id |usr_contact| ----------------------- | 1234 | null | -----------------...
asked by 08.03.2016 / 20:41
0
answers

Insert data from a while while mouncing the form into the mysql database

How to get the values of the inputs that come by array because the form is fed by the client follows the form code, give him as many questions as he wants in my poll system, and create the answers .. wanted to know how to get the value of the fi...
asked by 08.03.2016 / 18:23
0
answers

Ping in PHP + Apache2 Debian

Good morning, I was able to search the internet to do the script below as what I needed, but I still lack a detail, so I dribble in a machine, as I could do to be a list of machines, without my having to repeat the commands for each machine?...
asked by 07.03.2016 / 14:05
1
answer

How to do a "while" of the number of rows in a query?

Does anyone know if in that PHP function - mysql_num_rows do I have to while in it? I need to break the total number of rows in the table. I tried to do: $sql = "select ..."; $query = mysql_qery($sql); $rows = mysql_num_rows($que...
asked by 04.03.2016 / 12:17
0
answers

Insert in Mysql file txt

I am trying to insert a C # table into MySQL. For this I am using a txt file filled with the table information and then inserting into MySQL, but it does not insert even though the file is created correctly. > Below is the code I'm using: pu...
asked by 07.03.2016 / 00:50
0
answers

Error writing to database - moodle installation

I'm trying to install moodle on my server Digital Ocean I'm following all the steps according to what is asked, until a time comes that asks to install the plugins, but during the installation I get the following error:    Error...
asked by 07.03.2016 / 13:12
1
answer

Joomla site error: 0 Invalid controller: name = '', format = '' joomla administrator

I'm trying to get into the administration of my Joomla 3.0 website, but I'm getting the following error:    0 Invalid controller: name = '', format = '' Can someone give me a clue how to solve it?     
asked by 21.02.2016 / 22:31
0
answers

Null field error - Java Web

In the project I am studying is based on the book "Programming Java for Web" where a strange error happens, then the error appears after filling the entire form, where it appears in the log that the user field is null. I made changes as the book...
asked by 23.03.2016 / 01:44