Questions tagged as 'mysqli'

1
answer

Method to save multiple checkboxes and input with json and then show

I am doing my project to graduate, it is a web admin of works and I am looking for how to insert in the table WORKS the materials with the quantities (obras_cant) and the tools with their quantities (herra_cant) , example: Gray p...
asked by 03.12.2017 / 17:06
1
answer

inputs and checkbox insertion selection

Greetings I have a problem I am trying to enable Inputs as you select checkbox, the problem is that they are checkboxes shown by a while which comes from the database. Below I show the code. <div class="campo clearfix"> &...
asked by 06.12.2017 / 00:08
1
answer

Problem in php + Mysqli

Good morning, I tell you a little about how things are going. I'm doing a page in php along with Mysqli for queries and insertions in database. We are working on localhost. My problem is the following. -Once I register a user, he does not take t...
asked by 30.11.2017 / 23:09
0
answers

Problem uploading files to mysql with ckeditor

I have a field null to be able to fill it in after the others in the table and it does not leave me. I do not know what I'm doing wrong. This is the code that you insert in the database, the funny thing is that when you hit the button...
asked by 27.11.2017 / 21:48
1
answer

How to create a comparison of calculated values with php from a result-set?

I have the following the following result-set brought from the query that is described in the code below. What the php code does is to run the result-set by filtering two flag variables: source and destination . Then, during the iteration for e...
asked by 27.01.2018 / 01:38
0
answers

Obtain user data logged with codeigniter and mysql

I am doing my first project in codeigniter, and I have a question with the login of the application, what I need is to obtain the data of the logged in user (with his RUT and Password) to show them on the homepage. The driver is the following:...
asked by 22.11.2017 / 05:51
1
answer

How to verify that a date is in a range of dates with PHP and MYSQLI?

I'm working on a section where I have to filter photos depending on the data they enter in the inputs. The inputs I have are: 1 input text for the title 2 inputs date to set a date range for the photos 1 input to select the country...
asked by 23.11.2017 / 02:28
0
answers

InnoDB Error Code: 1215. Can not add foreign key constraint that I get on my client table can someone help me thanks

-- MySQL Script generated by MySQL Workbench -- Thu Nov 23 02:24:57 2017 -- Model: New Model Version: 1.0 -- MySQL Workbench Forward Engineering SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KE...
asked by 23.11.2017 / 07:56
1
answer

MySQL Filter Expired Permissions

I have the following question: I have a table in mysql called drivers in which I keep your data including Date of Issued driver's license and Expiry date. What I need is to filter "Show" all those that are about to expire or have already expi...
asked by 15.11.2017 / 20:08
1
answer

Error in query between PHP and MYSQL

Good evening. I do not know why the query does not run. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> </html> <?php include 'conexion.php'; $grupo= $...
asked by 14.11.2017 / 16:16