Questions tagged as 'php'

1
answer

JSON Success URL

I have a web application in PHP where I generate income to an item. I can assign movements to this item. I do it with a FORM POST . Besides I have a button where I can eliminate that assignment. This method was done with JSON ....
asked by 30.08.2018 / 18:50
1
answer

Permission 777 to my uploaded files

I need to put a 777 permission to my uploaded files, but I can not find any document to upload files in codeigniter ... Is it possible to put the permission 777 with the load class of codeigniter ? Already use if(is_file($confi...
asked by 30.08.2018 / 15:34
1
answer

AJAX sends me empty data to PHP

It happens that I am creating a temporary table, the data that I am registering in the same I will pass them to an array (miArray) in js to be able to send them through AJAX to a PHP and then save them to a database. Function of Javascript...
asked by 30.08.2018 / 00:05
1
answer

because when I change an integer value to a decimal I get an error?

good morning Working with php, I'm making a shopping cart. everything was fine until I realized that it does not save me values with decimals, pure integers in tables such as prices or totals, etc. my tables had them in decimal type, then...
asked by 21.08.2018 / 18:26
1
answer

PROBLEM Jquery and Ajax, send data to the same FORM

I am making an order form, in which I include a button that says: "Add Additional", that displays a "Modal", when filling in these fields, a button that says, add to the order. What I try, is that when adding to the order the established data...
asked by 20.08.2018 / 15:33
1
answer

How can I download links directly?

Good, my question is how can I directly download this type of links: link Without having to click derechi and download.     
asked by 19.08.2018 / 20:19
4
answers

COMBINE 3 ARRAYS IN PHP

Hi, I'm trying to combine 3 arrays into one, but it can only be done with two arrays. Array ( [0] => ITEM1 [1] => ITEM2 [2] => ) Array ( [0] => 2 [1] => 4 [2] => ) Array ( [0] => 50 [1] => 400 [2] => ) How...
asked by 18.08.2018 / 10:48
1
answer

Doubt with consultation and foreach

I am trying to understand why a foreach is done in this example: I have a function like: function obtenerNombreProyecto($id = null){ include 'conexion.php'; try{ return $conn->query("SELECT nombre FROM proyectos WHERE id = {...
asked by 12.08.2018 / 19:48
1
answer

Help with a php code to not show the page if it is accessed from the url

I have the following code that its function would be to detect the entry from the page step1.php to paso2.php Let me explain, I want people who enter step2.php without going through the first step not to be allowed, with this code I have achi...
asked by 18.08.2018 / 13:52
2
answers

Doubt with passing php value to javascript

On the page that I show below I am calling a php to pass the value of a field to me. When I do onclick in a row of my table the process works correctly, it brings me the comment field. In an HTML segment I also have a button, which I need to...
asked by 13.08.2018 / 19:59