Questions tagged as 'php'

2
answers

Load CSV file in MySQL

Hi, hoping you can help me. I'm trying to load a csv file which the _pt_part_ should separate into 3 parts    EJ. Full character is 12345678910250L       I have to separate it into 3 fields:       | 123456789 | 102 | 50L | I can now...
asked by 15.02.2017 / 17:12
2
answers

How can I send a PDF file generated with DOMPDF using PHPMAILER?

Good afternoon. I have a problem, and I want to email a pdf file generated with DOMPDF using the PHPMAILER library; the pdf file is generated correctly as well as the function to send emails. I have two files, in one is every...
asked by 15.02.2017 / 03:30
2
answers

Problem with modal and tab bootstrap

I have created a form with several tabs within it, which are displayed in a modal that is activated by clicking on a button within a table (blue button of the image) that works correctly. My problem is when another button appears with t...
asked by 10.10.2016 / 03:06
1
answer

Show results mysql indifferent to shopping cart

I am creating a shopping cart system, which works very well, now the problem comes where it shows the results of the car ( cesta.php ), I want to show results indifferent to what the user has inserted into the car, for so to facilitate if...
asked by 07.10.2016 / 10:50
1
answer

How to get a list of events from the current date?

Actually, I have the solution, but I want to know if there is a more efficient solution. What I need are the events that have not yet expired so to speak. Within a base with all the events. Basically what I do is get the events with an OrderB...
asked by 07.10.2016 / 14:13
1
answer

Does any return value stop a cycle?

I have the following code, which I have a while that repeats me N quantity of products purchased from a database, in a td I have a select that is filled with the total products in my database, selecting the one that I bought , the problem is tha...
asked by 30.09.2016 / 20:33
1
answer

jQuery UI Timepicker

Good, I would like default to show me the current time, I do not know how to do, I have the grid with the hour and minute with PM / AM to choose, if I click "Now", if you give me the current time. But I would like the current time to be shown by...
asked by 30.09.2016 / 22:07
1
answer

How to make the msj with laracast / flash have the closing button?

I'm using laravel 5.3. and the laracast / flash package In yes the msj show correctly but the closing button of the flash window does not appear. According to the laracast documentation now the use should not be placed. So I use it: in...
asked by 05.09.2016 / 15:36
1
answer

How to select and compare results between two tables?

I have the following query SELECT * FROM usuarios WHERE NOT EXISTS (SELECT * FROM pagos WHERE pagos.id = usuarios.id AND mes =< '$mes' AND ano =< '$year' ) I am trying to show or select the users who have not made payments in a range...
asked by 04.09.2016 / 15:46
2
answers

Error [false] when making a query (MySQL - PHP - PHPMyAdmin)

my query is at the end. <?php $usu = $_REQUEST["usu"]; $con = $_REQUEST["con"]; $conexion = mysqli_connect("localhost","root","mysql","android"); $res = mysqli_query($conexion, "select * from profesor where usuario='$usu' and contra...
asked by 08.11.2016 / 22:24