Questions tagged as 'php'

1
answer

Read variable num_cars_item in the PayPal sandbox

Someone who has tried PayPal's sandbox, I need to know how to test the shipment of multiple cart products to variable num_cars_items , and receive them in the same variable. Since when I simulate it in the sandbox by putting several items...
asked by 22.09.2018 / 04:18
0
answers

PHP Explode inside a for that is inside a while

I do not know how to ask, I hope I can explain a bit to be there if someone has any idea that can help me, it's PHP I have the following $consulta=$conexion->query("select * from tabla"); while($fila=mysqli_fetch_array($consulta)){...
asked by 22.09.2018 / 11:15
0
answers

Call to a member function result () on a non-object

I have the following error: Call to a member function result() on a non-object the error only appears in the 2 "if" if they analyze it in the second "if" there are only 2 extra lines, if I remove those extra lines it is the same as the fi...
asked by 28.09.2018 / 17:27
1
answer

How to get the id of an object that I just registered?

I have a form to register an "Property" in its respective table, but I want to be redirected to the "Edit" form when it is registered (It has additional information to add form, this additional information is to another table, and a table relati...
asked by 28.09.2018 / 16:39
0
answers

Call Modal from myModal.php to my index.php

I have 1 Modal in the file called myModal.php. I want to call this file from the index.php without redirecting it to myModal.php, that is, the mode (myModal.php) is executed, remaining in the index of the page. I have tried with the code that...
asked by 28.09.2018 / 19:42
1
answer

Insert a combobox with the upload files button

Hello good afternoon I have a code that I use to upload files but I need to not only upload files but also upload the combobox because the image goes according to the selection of the combobox someone could help me I have two fields image and im...
asked by 20.09.2018 / 21:43
0
answers

problem with html2pdf pdf in php pdf detects viruses and consumes a lot of resources in generating pdf

I am generating a pdf with the html2pdf library in php, however, I am experiencing two problems. 1.- The file can not be downloaded because it indicates that it has a virus. I do not have the slightest idea why this happens. I'm working on a...
asked by 20.09.2018 / 21:39
1
answer

Pass string field to modal form bootstrap

Could you help me solve this problem that I have please? What I'm trying to do is to pass the Client Name from the field $row['NomRazSoc'] of the file " listar.php ", to the modal form " clientes.php " passing as a paramete...
asked by 21.09.2018 / 00:31
1
answer

Conditional on setCellValue phpExcel

as I can add a conditional within -> setCellValue, for example: ->setCellValue('L'. $i, if($suma==4){ $suma=5}); $objPHPExcel->setActiveSheetIndex(0) ->setCellValue('A'. $i, $row['idemp']) ->setCellValue('B'. $...
asked by 20.09.2018 / 22:47
0
answers

Add individual search columns in the datatables

Your support to be able to add individual search engines in the coupons of my data Table. I found this solution and it works correctly but I only have the search which it looks for in all the columns, but I want it to be for each column. Than...
asked by 20.09.2018 / 19:34