Questions tagged as 'php'

0
answers

Too few arguments to function when trying to adapt tutorial to make an update

Use Codeigniter with php, in a tutorial a crud is done, I already had the insert and I tried to adapt the code to make an update, but the code of the tutorial calls the model mod twice, and in one it happens only 1 argument. I think that's why i...
asked by 08.10.2018 / 09:59
0
answers

Consume API to BD

I am working on my degree project and I have to make a system that works based on an API. This API must be integrated into a database, that is, I must extract all information regarding the company for which I work and integrate it into a local b...
asked by 05.10.2018 / 12:28
0
answers

filters with elasticsearch where both conditions are met

I'm doing a search in elasticsearch where you will have several filters but these filters but you should only bring me results that meet all the filters. This is the code of the search: "query" => [ "bool" =&g...
asked by 05.10.2018 / 17:19
1
answer

Pass a javascript variable to php without input [duplicate]

Hello everyone, please, if someone can help me, I need to pass a javascript variable to php .. I have this function <script type="text/javascript"> function operacion(field) { var form = field.parentNode; var numero...
asked by 05.10.2018 / 14:09
1
answer

Error wanting to save PHP form data to MySQL

I am saving some data from a php to mysql form but I do not know where I am wrong, but it does not save anything, this is the code that I have in my php MY HTML <form class="limpiar" method="POST"> <div class="half izquierda li...
asked by 05.10.2018 / 16:05
0
answers

Show data of an input type text in table with PHP

I would like to know how I can capture the data of an input type text inserted in the MySQL DB and display them in a table with PHP using an array, since with the other inputs it works correctly for me but it does not work with the input type te...
asked by 15.10.2018 / 06:12
0
answers

Save form data in MySQL

I have 3 tables in my database in mysql, in the html create three forms for each table. I would like you to support me in sending the data to each table. <!-- Header --> <nav class="navbar navbar-light" style="background-color:...
asked by 04.10.2018 / 16:09
1
answer

Appear an alert that can not be repeated

Hello good morning I have a file upload that is uploaded with a combobox which is called in the database image_text I would like that combobox would not be repeated the option put in the combobox this is my insert <?php session_start();...
asked by 04.10.2018 / 16:34
0
answers

when exporting data from a query in php mysql the csv file contains html

At the moment of generating the CSV file it only contains HTML, I checked my query and there are no null values, or anything like that, I leave you a photo of the code and I thank you in advance for your time. Greetings brothers! CSV outp...
asked by 04.10.2018 / 17:01
0
answers

Know tracking requests

I wanted to know if there is any way to know where a request comes from on my web site? Let me explain: If I am in a marketing process, without using Google Analytics, and I place a link to my site on another website and a person clicks on...
asked by 04.10.2018 / 16:02