Questions tagged as 'php'

0
answers

How can I change currency in PHP?

I'm trying to adapt Google's api to make the currency exchange, but apparently they no longer offer that service. Now I'm trying to scraping to get the current value of the currency, but I do not understand much of that, does anyone have any ide...
asked by 24.08.2018 / 18:31
0
answers

Codeigniter - expression # 1 of SELECT list contains nonaggregated column

I've done everything and still keeps sending me the error $this->db->distinct(); $this->db->select('s.id, COALESCE(SUM(sd.cajas),0) as cajas, COALESCE(SUM(sd.peso),0) as peso, c.nombre'); $this->db->fr...
asked by 16.08.2018 / 00:54
0
answers

Is it possible to create a GMAIL account with php?

I have to create GMAIL accounts with php, but for now I can not find information about the topic, I appreciate the help you can give me.     
asked by 16.08.2018 / 02:05
1
answer

How to assign different functions to different types of users?

I am creating a platform for students and teachers, and each one has different functions in their profile. When they are registered, each one in my database is automatically assigned a 1 or a 2, depending on what type of user it is.    1 = T...
asked by 13.08.2018 / 18:56
1
answer

Send and receive file Vue-Resource and PHP

I'm trying to send an image using vue-resource and retrieve it in a php file but I have not succeeded, this is my JS file: //* AJAX *// startAsyncNews: function(){ if(this.sendimage){ var formdata = new FormData(); formdata...
asked by 13.08.2018 / 20:44
0
answers

mpdf library, css style

I have a problem with the mpdf library I want to pass the design of a table to pdf but I think that this library does not support some css properties or html tags, I do not know the truth ... When I create the PDF it shows me the table...
asked by 13.08.2018 / 21:26
0
answers

create custom class in resources folder laravel .. can you?

I am currently doing a project in laravel. I have created a simple class to build a grid manually, the project managers want that class to be inside the resources / views folder. I have already tried several ways but still nothing to register th...
asked by 14.08.2018 / 15:58
0
answers

Switch from text to image centered on php

Hello friends today I was born a question after looking for a way to create images in php I have just achieved a basic form. <?php // Establecer el tipo de contenido header('Content-Type: image/png'); // Crear la imagen $im = imagecreate...
asked by 17.08.2018 / 08:56
0
answers

integration with SOAP protocol with PHP Help!

I want to integrate a server (Client) to the server of my work. The problem is that the client uses the SOAP protocol for sending data information, something that currently is not seen much and I can not find the information I need. I show th...
asked by 17.08.2018 / 10:50
1
answer

Help get_the_terms wordpress

Good I have this code in php, and it is the root of having the sectors will leave some icons or others. But I do not know how to get the sectors with get_the_terms. The taxonomy is sectors. echo ("<div class='iconos-sectores' style='display...
asked by 17.08.2018 / 09:42