Questions tagged as 'php'

1
answer

call php function from javascript

good afternoon friends I have a problem that breaks my head and I can not solve this code I have function llenar_tabla_json(){ $('.cargando').hide(); $(".table-carrito tbody").empty(); $("#carrito_ventas .table tbody").html("");...
asked by 05.07.2018 / 22:52
1
answer

Google charts, I can not use variables in javascript

I have a query that brings me a list of Names with their respective fields (On Time & Delayed). The query I bring with PHP and if I throw a echo $datosGrafico ; give me this: ['Agustin', 17, 1 ], ['Andrea', 79, 0 ], ['Carla', 17, 0 ],...
asked by 05.07.2018 / 19:45
1
answer

How to count records by date according to the requested query?

I am looking for the counting of these services according to the date, these types of services are stored in a column. index.php <!DOCTYPE html> <html lang = "es"> <head> <title>Consulta De Estadist...
asked by 05.07.2018 / 16:01
1
answer

I press submit button and I change tab

Hi, I have 2 tabs on a page with forms and query buttons in each one .. when you press the tab2 button, it performs the query but it is placed on tab 1 and I have to click on tab 2 to see the result ...How can i solve this I add code <u...
asked by 05.07.2018 / 17:23
1
answer

How can I get a parameter that comes from the get method from the controllers file in php

I have this url which sends the parameter id by means of the get method, but when I want to receive it through the controller, it tells me that it does not exist.    link public function getUpdate(){ global $pdo; $id =...
asked by 05.07.2018 / 00:22
1
answer

syntax error, unexpected end of file laravel

Well my query is because I read my code a thousand times and I do not know where the error is, I have a pure php app that I'm trying to integrate with laravel but I can not find the error of syntax error, unexpected end of file create...
asked by 09.07.2018 / 02:34
1
answer

Search find and replace within string in php

Friends good day. today I come with another question, I have a string of the following form. {"idc100":"1", "creado_por":"superadmin", "asignado":"Yhowan Ramirez", "ips":"["melgar","corondo"]", "numero":"200116001232201602345", "devolucion":"[...
asked by 09.07.2018 / 16:33
1
answer

unlink and file_put_contents permission denied

I am trying to perform an unlink and a file_put_contents and it does not allow me to perform the operation with all the correct Linux variables (the correct user, permissions in 777, just in case), I had already posted several tests and ways to...
asked by 10.07.2018 / 03:22
2
answers

Sum of numbers with javascript and php

Please, I need a little help, I am trying to add the values returned by a foreach ($ getDesEsp as $ itemListaDesEsp): but I always add the last value. in this case I have 4 records but I always add the last one. I'll leave my code please ... Exc...
asked by 27.09.2018 / 15:05
2
answers

Push notifications in xamarin with php

Friends we are working on an app in xamarin.forms cross platform, the issue is that you want to implement push notifications for both the android project and the ios, the issue is that you are not working with the notification service of azure,...
asked by 27.09.2018 / 20:18