Questions tagged as 'php'

1
answer

problem with my browser mozilla firefox, I can not take "time" or "date", implement javascript to correct this problem

I need to put the time in an input, as I get some arrows in the input to add the time, but in mozilla does not appear, how can I implement this with javascript so that I can use mozilla, this is my code. <?php $actual=strftime( "%Y-%m-%d",...
asked by 01.06.2017 / 16:16
1
answer

Why is this SQL statement giving NON-Object error in PHP?

I have the following table called Orders : Ordenes: id_orden = entero id_producto = entero Example of records: id_orden - id_producto 1 - 2 1 - 3 1 - 14 1 - 7 I would like to get all the id_producto...
asked by 23.05.2017 / 20:05
2
answers

Search records in a database using PHP and MySql

For a school project I was asked to make a page where I can search for specific records in a database inside a hosting, it turns out that when trying to make the query I always throw this error: Warning: mysqli_fetch_array() expects parameter...
asked by 30.05.2017 / 12:29
1
answer

the BD table in postgresql is not updated

Good morning, I am practicing with PHP and postgresql to do a project for the university and I have not been able to update a table in the BD for two days. I've been changing the syntax reading solutions in different forums and I do not know wha...
asked by 28.05.2017 / 10:22
1
answer

As I show what brings the variables of a stored procedure with php and mysql [closed]

I have a store procedure in phpmyadmin of user login, and I am not showing the values that return, can you help me? I attach the code DELIMITER // CREATE PROCEDURE SP_LOGIN( IN _User VARCHAR(20), IN _Pass VARCHAR(20), OUT ValRet VARCHAR...
asked by 29.05.2017 / 14:29
1
answer

When making a query I get the number 1 in the input - PHP [closed]

My problem is as follows, when I make a query, the number 1 appears in the input automatically, does anyone know why? Attached image. Here is the Code - PHP <?php include 'conexion.php'; ?> <form action="buscad...
asked by 30.05.2017 / 18:26
1
answer

I can not modify an item in mercadolibre with php

I have this code which theoretically allows me to modify the stock of an item. He reads it, he does not give an error, but he does not modify it. <?php $ACCESS_TOKEN="APP_USR-3743017..."; $uso=1; $detallesART = '{"available_quantity"...
asked by 22.05.2017 / 23:28
1
answer

Create new file by clicking on the button

Create a text file every time you click click on the save button, and save what you type in a textarea In other words, if I press the save button 3 times, I should create a file with this:    file1.txt first click       file2.txt seco...
asked by 20.05.2017 / 23:54
1
answer

Changes on my website are not shown until pressing F5

I'm designing my website. I have it programmed with php and mysql. My problem is that when I publish it on the host, the queries do not show the changes until I reload the page. This seems to be the problem of the host that you hire becaus...
asked by 22.05.2017 / 07:45
1
answer

Using trim in php

I have a file called instructions.txt that is filled with the information that the user writes in a textfield, by clicking on the save button. when creating a new line every time I click through the fwrite code line ($ file, $ content.PHP_EOL);...
asked by 20.05.2017 / 23:13