Questions tagged as 'php'

0
answers

Print several MultiCells in one line

The problem is that I get data from a mysql database with $tupla=mysqli_fetch_array($bloque); ($ block contains the result of the query), I must write each data in a different column of a pdf, use a for to scroll through all the results a...
asked by 09.08.2018 / 02:58
2
answers

Problems adding one number to another in several matrices

The problem is that I add the positions of the matrices instead of the value $totalVotos = Array ( [0] => Array ( [votos] => 8 [0] => 8 ) [1] => Array ( [votos] => 9...
asked by 15.08.2018 / 20:24
1
answer

Error in mysql php query

I have an error which I have not been able to solve, it gives the expected results but at the end I get an error. This is my code: <?php require('datos.php'); $conexion=mysqli_connect($db_host,$db_usuario,$db_contra,$db_nombre); if($c...
asked by 09.08.2018 / 00:25
2
answers

Charge the contents of a .php that contains a form in a div but does not work submit

It's the first time I write, since I almost always find the answer solved without having to explain it before. My query is as follows: I have a index.php with a div to load a list of users in the upper part and another in the lower one w...
asked by 15.08.2018 / 22:46
1
answer

Problem with modal and php query

My doubt is as follows I have this code where I consult information and create an arrangement, when I click on a detail button I get a post file that brings me the idweb value of that row, besides opening a modal that should contain the query da...
asked by 09.08.2018 / 14:57
1
answer

Why does the result give INF?

This results in this: bitcoin INF 2299 I'm new to this. I'd appreciate your help. ?> <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <p class="price"><?php echo $product->get_price_html(); ?&g...
asked by 09.08.2018 / 11:42
1
answer

how to return an output stored procedures MYSQL PHP

Some time ago I am looking for the web on how I can return an OUT in MYSQL with stored procedures in php. PHP mysqli_select_db($conexion, $database_conexion); $query_DatosWeb = sprintf("CALL genera_sesion()"); $DatosWeb = mysqli_query($cone...
asked by 04.08.2018 / 23:52
0
answers

How to get the image inside a div with Xpath

I'm trying to get the src of the following structure. Classy image I have no problem getting it, but I have problems with those that do not have. <div class="image-wraper"> <img src="imagen.jpg"> </div> I've tried with...
asked by 05.08.2018 / 02:58
1
answer

PHP - Creation of tables from MYSQL Database

I am developing a query to be able to extract the data from a DB to a table in PHP, my problem is that it shows me the data but they jump in different lines, I want the results to be output in a single row. The query I'm using is: class Bus...
asked by 09.08.2018 / 20:22
0
answers

api curl_init php

I have the following command: header("Content-Type: application/json"); $url="https://api.comprobanteselectronicos.go.cr/recepcion-sandbox/v1/recepcion"; $ch = curl_init(); $cOption = array( CURLOPT_URL => $url, CURLOPT_HEADER...
asked by 09.08.2018 / 16:30