Questions tagged as 'mysql'

1
answer

Web Service Java on OpenShift using Tomcat 6 (JBoss EWS 1.0)

I'm trying to create a Web Service in JAVA to be consumed by an Android application. I need to use a Cloud technology, and only found OpenShift free and best recommended for now ... Well, I've already created my project in Eclipse. I already hav...
asked by 31.03.2015 / 05:02
1
answer

Problem presenting text in php with editor tinymce

I have a manager with the tinymce HTML editor, but every time I enter information in the database, when I present the page through PHP the text appears without paragraphs and with some tags in> I do not know why this happens. As you c...
asked by 31.03.2015 / 23:44
1
answer

Multiple update in a configuration table

I would like to know the best method to perform update in a table that I have where there are 3 columns: ID, Key, Value Today I'm doing this: UPDATE dbuf.dmds SET situacao = '0' WHERE id_demanda = '1'; UPDATE dbuf.flxs SET valor = '1' WH...
asked by 13.02.2015 / 19:44
1
answer

Error trying to create a connection to the database (MySQL)

I tried to make a connection to the MySQL database using AsyncTask , but it is giving error in the class responsible for the connection, MysqlConnect :    The Log () constructor is not visible I'm following this tutorial and...
asked by 13.02.2015 / 20:41
1
answer

Read phpMyAdmin column

I was able to separate some values from a column in a table in PhpMyAdmin through some tips and I did this: mysql_select_db($database_conexao, $conexao); if ($dep != "" and $sub != "") { $query_rsPesquisa = "SELECT * FROM 'produtos' WHER...
asked by 29.01.2015 / 19:43
1
answer

Upload photo and save the original photo and a cropped one?

Here he is saving only the modified one, I wanted to save the original and the modified one. <?php $page=" Upload de Imagens"; if (isset($_POST["cadastrar"])) { include_once 'classes/resize-class.php'; // Incluímos a classe $titu...
asked by 01.02.2015 / 15:04
1
answer

FullCalendar fetch data from the php database

I'm generating a calendar for a site, and I'm required to use the fullCalendar tool. The question is to get the events by php to my database. In js, the data is listed in the following demo.calendar.js file and contains the following: ;(func...
asked by 09.07.2014 / 13:32
2
answers

Query Mysql does not return error or result

I have 5 tables in which each of them has data that needs to be displayed grouped by date. Proposals are grouped by date, quantity of proposals, value of proposals, media, amount invested, number of clicks, code (source_code) and if it is denied...
asked by 30.04.2014 / 20:28
1
answer

Generate a table from other 5

I need help to build a query that brings data from 5 other tables. I will try to be as clear as possible, if information is missing, please let me know. Come on: I have the Media table: link and the Proposals table: link The othe...
asked by 02.05.2014 / 15:43
2
answers

How to do a SQL query with some blank criteria? [duplicate]

I'm creating a filter for a database search in a PHP application and obviously I have a lot of criteria, but I've only managed to work with only one criterion. Code: select codigo, despesa, data, estabelecimento, valor from financeiro whe...
asked by 19.07.2016 / 04:56