Questions tagged as 'php'

0
answers

Problem with Count laravel

I have the following which works perfect but if I want to also bring another data like the user_id that is inside the same table where I do the count it gives me an error. Alquilen knows what the solution might be? public function scopeCantida...
asked by 21.11.2018 / 14:27
1
answer

Update a PHP variable type array using JQuery

I have a plugin in wordpress that runs some counters: My question is whether it is possible to update this variable with JQuery through an event, for example by clicking on the heart icon. I do not pretend that they do the work to me, o...
asked by 20.11.2018 / 14:41
0
answers

Transform the precision circle of google maps to coordinates

I work in an application that uses the Geolocation API of Google Maps to obtain the location of devices. In the application you can create a geo fence so that it will notify you if the device has left its assigned area. The problem is that curre...
asked by 20.11.2018 / 14:06
2
answers

Refused to apply style from 'url' because it's MIME type ('text / html')

I have the following problem loading the assets in a site that I have uploaded to 000webhost    Refused to apply style from   ' link '   because its MIME type ('text / html') is not a supported stylesheet MIME   type, and strict...
asked by 20.11.2018 / 14:22
0
answers

does anyone know how to assign a fetch_assoc () or a mysqli_fetch_array () to a variable?

Thanks for reading my post. I've been trying to do an assignment to a variable from a fetch_assoc () or a mysqli_fetch_array (), this is my code: $dba = mysqli_connect('localhost', 'root', '', 'prueba'); $salida = ""; $query = "SELECT * F...
asked by 11.11.2018 / 05:09
0
answers

validate a BD data and show results in an option

The detail I have is that I have to validate a text (RFC) of an input, and that when clicking on a submit check, I return the clients with the same RFC in an option .... I already look and I do not understand how to do it ... this part is the...
asked by 06.12.2018 / 22:32
1
answer

Bar Graph with Google Chart, PHP and Mysql

I have the following arrangement emanating from a query in Mysql: I need to create a graphic in google charts in the following way: I need, please, a technical guidance on how to configure google chart, in PHP, to show the graph i...
asked by 06.12.2018 / 17:35
0
answers

How to use api rest with php

I am new to the issue of using api rest of redmine and I need to give a project that shows the services that are in that project, to be able to later operate on said services, the case is that for more than I try to extract info I always it come...
asked by 06.11.2018 / 11:31
2
answers

Calculate days on a given date per month

Hello, I would like to reflect the number of days of an absent worker from his date of absence either using Carbon or something native in php, use Laravel the example is this: In the BD I consult the absenteeism that said worker has $ause...
asked by 06.11.2018 / 03:18
0
answers

I have not finished using the HelpScout WebHook

I am trying to integrate a HelpScout WebHook, having already applied the same API in a PrestaShop module that I am creating. The issue is that I ask the HelpScout technical service and they can not help me, they tell me to look at the guides the...
asked by 05.11.2018 / 06:43