Questions tagged as 'php'

1
answer

How to update ajax php sql server table?

Good I'm doing a form but in this case they fill certain data or they choose and a graph is generated and below a table that is basically the description of that graph and it is dynamic. The problem is that when I press the first time it work...
asked by 26.07.2018 / 17:02
1
answer

PayPal security with php

Good, first of all say that I spend a lot of time researching and I can not find something that satisfies me. It turns out that you can not make sure otherwise using the odd form that gives us paypal and validate with your ipn but then I fin...
asked by 24.02.2017 / 23:48
0
answers

MYSQL / PHP / JQuery query assistant

I am working on a report that shows the results of an SQL query in an HTML table I can get the data very easy with PHP $link=new PDO('mysql:host=localhost;dbname=dbname','user','pass',array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));...
asked by 02.09.2018 / 19:56
2
answers

Does not show all records when performing an SQL SERVER query through AJAX

I have a problem getting all the records of a query in SQL SERVER through PHP and AJAX. When I send POST by the classic method of the form (submit), all records are displayed without any problem. However, when doing the query by mean...
asked by 02.10.2018 / 01:07
1
answer

Excessive response time between MySQL and PHP

I am making an application which validates certain user data by checking if the provided data exists in the database, the responses of the database can take at least 3 seconds, but making the queries directly in the database , the answers are im...
asked by 13.10.2018 / 01:39
2
answers

Insert values in database using php

It gives me an error when inserting some values in the database. I've been watching for a while now and I'm not right with the error. This is my code: HTML form: <form action="#" method="post"> <f...
asked by 06.06.2016 / 13:54
2
answers

array_merge inside a foreach

I am trying to join two arrays , I have the following: In the variable $ventas I have the following object: { "Mesa": [ { "producto": "Mesa", "mes": "6", "total": "1" }, { "producto_id": "0...
asked by 10.08.2018 / 22:53
3
answers

Replace value in PHP array and call it later

I have a query and it is as follows. My goal is to replace the values of all fruits to increase the price by 5%: // precios originales $precios = array ( "frutas" => array ( "manzanas" => 15, "peras" => 5, "naranjas" => 3...
asked by 11.02.2016 / 02:28
2
answers

use ajax to load information

I have the following form that has the following option: echo "<tr>"; echo "<td class='cs'>Forma pago</td><td>"; echo "<div id='contenedor2'>"; echo "<select name = 'cod_tarj' style='border-colo...
asked by 21.05.2016 / 17:43
2
answers

Help with .htaccess - Url Friendly

I have a website developed in php and mysql now I want to use URL friendly to my links. I have for example the traditional link: midominio.com/portal/public/oficinas.php?seccion=24 24 is to the section: office On this page it show...
asked by 27.04.2016 / 00:35