Questions tagged as 'php'

0
answers

insert php in javascrip that is already shown by an echo

Hi, I am new, mixing php in javascript. I would like to know how I can adapt this foreach well in this javascript statement so that the information is displayed correctly. $consulta= $obj->getQueryConsulta(); $result = $catalogo->...
asked by 31.10.2018 / 16:13
1
answer

print all the data of an array in a highcharts

Hi, I have a little problem with highcharts, so the graph shows the last area. Of the forty areas, the problem is that I can not go through the entire arrangement so that all my code is shown as follows: case 5: //lineal $cons...
asked by 31.10.2018 / 18:25
0
answers

connect 000webhost.com with php mysql

I want to connect my php connection file to the 000webhost database <?php $servidor = "localhost"; $usuario = "root"; $password = ""; $bdd = "matrix"; //crear conexion $conn = new mysqli($servidor, $usuario, $password, $b...
asked by 04.11.2018 / 00:33
1
answer

Insert PHP variable PHP $ _POST

I have a question / problem, I want to insert in a table in my database a value that is PHP variable, when passing it through $ _POST it does not keep it, is there another way to do it ?, I leave the code, maybe I I made a mistake:...
asked by 04.11.2018 / 02:36
0
answers

Help with configuring PHPMailer for mailings with embedded images

I tell you I have the following function in php <?php $logo = '<img src="https://local.jesuministrosymas.com.ve/image/LOGO.png" width="180" height="30"><br><br>'; $footer_correo = '<br>Aca va el Footer del Cor...
asked by 04.11.2018 / 03:41
0
answers

Fatal error: Uncaught Error: Call to undefined function mysql_connect ()

I would like you to help me solve this problem, the following error appears on a page I am designing Fatal error: Uncaught Error: Call to undefined function mysql_connect () in G: \ Pagina \ comentarios.php: 11 Stack trace: # 0 G: \ Pagina \...
asked by 04.11.2018 / 09:27
0
answers

I have problems with sending variables to my modal, I need urgent help

My problem is that I can not send variables to my modal to make a select for my table in that modal. I can send data with: ejm: In my PHP: <a href="#finalizarCliente" class="delete" data-toggle="modal" data-cod_base="<?php echo $cod_b...
asked by 04.11.2018 / 03:23
2
answers

I need to put together a phpmyadmin SQL to list a table with the companies and contracts that I have to pay in the current month and that if I do not already pay the list

SELECT a.cod_contrato, a.cod_anunciante, a.presupuesto, b.cod, b.mcuota, date_format(b.mesdpago,'%d-%m-%Y') AS mesdpago, c.cod, c.nom, c.cor1, c.tel1 FROM espacios_publicitarios.anunciantes AS c INNER JOIN espacios_publicitarios.contratos AS a O...
asked by 01.11.2018 / 11:51
0
answers

how to format html within a php map () function

I have the following function in a laravel driver public function show() { $organizaciones = Organizacion::with('estados')->selectRaw('distinct organizaciones.*'); return datatables() ->of($organizaciones)...
asked by 01.11.2018 / 05:10
1
answer

Laravel- Trying to get property 'name' of non-object

I am developing a product catalog system with Administration Panel in Laravel 5.5. I've finished it and everything works, except that I can not filter my products. When I do the function: dd($products); to verify if it does filtering,...
asked by 01.11.2018 / 22:28