Questions tagged as 'mysql'

0
answers

Problems saving information to the database

I have this code, but for some reason it is not saving the information in the database. Can someone explain to me what is wrong with the code? <?php require_once('functions.php'); add(); ?> <h2>Novo Cliente</h2&...
asked by 29.12.2017 / 16:23
0
answers

Where do I start to integrate my game with database?

I want my Mobile Game users to log in and save game information, as well as having the option to share some information (such as a created character) so that other users can download and but I'm not sure where to start, because from what I res...
asked by 28.12.2017 / 18:13
1
answer

User with own page

I'm doing a portal, and to do the registration you need cpf and email. Then I send a confirmation email, he clicks on the link and his situation on my bd changes. So the user can access the portal. It will only have one page, and all users will...
asked by 14.12.2017 / 15:05
0
answers

I wanted to know how to use two select multiple tags to insert data into the database?

JS: function insertSelected(campoOrig, campoDest){ x = campoOrig.value; if (x == "") { alert("Selecione um Item"); return; } Origem = campoOrig; Destino = campoDest; var len = Destino.length; for (var i = 0;...
asked by 14.12.2017 / 18:38
1
answer

Create trigger after update in the table itself and in another

First I have a table: create table alecrim( id_alecrim int not null auto_increment, sem_epi int not null unique, p1 smallint, p2 smallint, p3 smallint, p4 smallint, p5 smallint, p6 smallint, p7 smallint, p8 smallint, p9 smallint, totOvos i...
asked by 01.01.2018 / 14:28
1
answer

Query MySql to display records not linked to a certain company [duplicate]

I need to create a query in SQL . I have three tables: TABELA 1: EMPRESA emp_codigo (chave primaria) emp_nome TABELA 2: PALAVRAS_CHAVE pal_codigo (chave primaria) pal_nome TABELA 3: VINCULO vin_codigo (chave primaria) vin_empresa...
asked by 11.12.2017 / 20:41
1
answer

Display DB data in list form

I'm developing a website to make animal donations / adoptions online, but I'm extremely lazy on the subject and my knowledge in PHP is small. For the user to donate an animal (add an ad on the site) he will have to fill out a form containing Ad...
asked by 12.12.2017 / 01:39
0
answers

Upload image to MySQL DB using PHP

1. My PHPupload Image Script <?php // SERVIDOR ONDE AS IMAGENS ESTÃO SALVAS $caminhonoservidor='imagens'; // este caminho será gravado na variável imagem $caminhotemporario= isset($_FILES['imagem']['tmp_name']) ? $_FILES['imagem']['tmp_nam...
asked by 23.12.2017 / 02:34
0
answers

How to insert Json data into mysql using php

I have a document with json format data that I want to insert into phdmyadmin DB, I am able to insert the first data into the table that is within "results", but I am not able to enter "catechisms_students_attributes" "education_sponsor_descript...
asked by 22.12.2017 / 23:28
2
answers

How to pull a data from the same field?

Personally, I know that my question may be silly ... But how can I pull data from a field only in SQL. Is that actually I'm putting together a report of the company's products ... There are products that drive it's value '1' but it when it's sol...
asked by 12.12.2017 / 13:54