Questions tagged as 'php'

2
answers

how to create a php script that makes a screenshot and modify the name each time it takes the capture

good, my question is the following as I can do to make a script in php that at the time of taking the screenshot I modified the name and I did not change the image already saved .. my code is as follows: <?php function reporte($i){ req...
asked by 24.08.2018 / 21:23
1
answer

Problem with php and batch

I already set apache so that PHP can execute .bat files, I have to move files from another server to my computer to do operations with it, when I execute the batch manually if I do the function, but at run it from php...
asked by 03.04.2018 / 02:33
1
answer

Change the value of input type text in php

I have a value assigned to a variable in php and I show it in a type text. I wish that by clicking on a checkbox I can edit and change that value. 1.- If I click and change the value, when submitting with submit, it shows me the change made....
asked by 26.10.2016 / 16:28
2
answers

Send a message to Whatsapp from a web page?

We are in the middle of a website development for a bakery, and within the requirements that the analysts gave us, he asks us for the following: "Confirm orders first by registering the client and then sending an email or a message by whatsApp t...
asked by 15.07.2016 / 06:42
3
answers

Get a total through a single query

I have the following tables where I'm taking an inventory, but I also have a reservation table. Tabla Inventario ------------------- | pieza |cantidad | |--------|---------| | pieza1 |100 | | pieza2 |20 | | pieza3 |30 | |...
asked by 02.10.2018 / 21:30
1
answer

error when passing php variable with ajax

My problem is as follows I have a BOOSTRAP menu where the content is extracted from a database mysql , being that when selecting an option I load the content of a page in a field div of central id. When I make the selection I...
asked by 17.09.2018 / 22:52
1
answer

Use character? in sql queries using codeigniter

I have the following SQL query and I want to use the character "?" because the postgres 9.5 syntax requires it, the problem is that codeigniter by default uses that symbol to replace values in the SQL query. Any recommendations? SELE...
asked by 18.09.2018 / 02:36
5
answers

Block Form

I have a participant registration form, when I just registered the participants, another "detail" screen is displayed. But if you turn back again the form appears and you can re-register. How do I ban that? I do not want to block the button back...
asked by 04.10.2016 / 00:44
3
answers

Pass variables by php

I have a .php file which is responsible for managing news on a website, I need to filter by categories if the user presses a certain option on the menu. I am sending variables by means of php to the same file to later receive the value of the va...
asked by 14.04.2016 / 23:45
5
answers

Add time in PHP array

I am saving the time in the database with a field of type time . I'm going through an array of data and I want to be able to add them. I have the following method: <?php sumaHoras = 0; ?> <?php while ($row = mysqli_fetch_as...
asked by 31.08.2018 / 22:43