Questions tagged as 'php'

2
answers

PHP Fatal error: Call to a member function fetch_assoc () on boolean

What kind of friends I hope are all well, I have a doubt working a project locally (wampserver) everything works correctly, but when uploading it to a hosting it shows me the following error message. PHP Fatal error: Call to a member functio...
asked by 26.11.2018 / 15:09
2
answers

Errors with jQuery

I am making a web page on which I am using jQuery (more specifically this library: link ). I have this function: $(document).ready(function(){ var documento=prueba; function obtener_modificacion(){ $.ajax({...
asked by 26.11.2018 / 16:20
0
answers

Autocomplete of jquery

Good afternoon I am currently using the autocomplete jquery which shows me all the data now I have to send a post to javascript to show me only those that are associated with that contract $('#txt_tec_ins').autocomplete({...
asked by 26.11.2018 / 16:47
1
answer

Show JSON in table with js from php

I want to show the data I receive from a query made in a php file, in an html with a table, sounds simple, but I need to group by one of the fields that I have in the json. The thing would be, I have this json: [{"id_order":"1","id_order_st...
asked by 28.11.2018 / 12:13
1
answer

optional input file reloads the page if no file is selected

I have a form where an input of type file is optional, but when submitting the form with id="update" the entire page is reloaded. $("#update").on('submit',(function(e) { var fsize = $('#subir_archivo')[0].files[0].size; var fty...
asked by 28.11.2018 / 02:56
0
answers

How can I download a full page from php

Someone knows how I could download an external page to mine through its url and save it in a specific directory. I express myself better, what I want to achieve is to do the same function that the browser performs when we are on a page and we gi...
asked by 28.11.2018 / 07:14
1
answer

Run two sql queries in the same function

I am trying to get the emails from two different tables, in order to gather them in a single array to send mass messages to all subscribers. I do not know if I can do it this way but what I did in the controller was send the name of two table...
asked by 27.11.2018 / 05:31
0
answers

Pager does not work on call from ajax

Hello, I have a simple pager. The paginator works entering from its own page, but it turns out that the data that pages are loaded in a div through AJAX, then when trying to advance between the links of the pager shows me an error of Object not...
asked by 27.11.2018 / 03:27
0
answers

how to use Polymer Cli and PHP together

Greetings to all. A few weeks ago I started to explore, learn and use Polymer 3.x, I really like everything, but I have this GREAT doubt about how to use Polymer Cli during development, in conjunction with Xampp / Apache / PHP for the ajax re...
asked by 27.11.2018 / 03:06
0
answers

Show image stored in MySQL with PHP

I have a file that allows me to make modifications to a MySQL registry which includes adding an image. When I try to send the data to another file to make a PDF I do not recognize the image, it recognizes the path "images / imag1.png".    Thi...
asked by 27.11.2018 / 06:02