Questions tagged as 'php'

1
answer

INSERT Run in XAMPP but not online

I have configured an online server ubuntu 18.04, php 5.6, mysql 5.7.23-0ubuntu0.18.04.1 in DigitalOcean I have developed in xampp 5.6.37 .... in windondows environment ... but I can not make this insert me work $query_tmp=mysqli_query($con,...
asked by 21.09.2018 / 16:57
1
answer

JavaScript function does not refresh the data very well

Hello good afternoon friend my problem is that I use a select option which if I choose that if I must hide a button and a select and also if it is NA but if it is NOT shows them then use a javascript function and it works very good but let's say...
asked by 21.09.2018 / 19:57
0
answers

You do not get the values after buying redsys

As the title says, you do not get the values of the purchase after having done all the steps, and I do not understand, why, I use a file previously developed which works correctly, but in the new web no. I leave my files to see suddenly I ski...
asked by 21.09.2018 / 16:27
0
answers

Call ajax with onclick

I am trying to count the number of clicks of a specific part of my page. I put an onClick to the element which makes a call to Ajax to store in a database for every click they make. HTML code <a id="tapaweb" href="hola.pdf" onclick="m...
asked by 22.09.2018 / 23:58
1
answer

when inserting form with ajax does not refresh fromulario

I created an insert with ajax and it does it perfectly in the database but the form does not refresh or does not return to its origin ... the record is inserted but it enters several copies of record when inserting the button or when doing , wha...
asked by 21.09.2018 / 03:27
0
answers

does anyone know how to execute deferred MYSQL queries in PHP?

I have two related tables (Employees with primary key AI and Role with primary key AI and foreign referenced to the primary Employees) and not to generate inconsistencies in the data or in the autoincrementable key I want to do in the same PHP:...
asked by 23.09.2018 / 03:00
0
answers

Progres Bar to know the progress of insertions through excel.csv

This is my import_excel form which imports the data from an excel.csv file to my BD, what I need you to do is to show me through the Progress Bar the insertion progress of all my records in my BD but I do not know how to do it, I already try wit...
asked by 21.09.2018 / 10:24
0
answers

I want to work with this type of field and what I need to be able to work for a JSON

My connection file is like this: conect.php <?php // Connect PHP PDO $connect = 'mysql:host=localhost;dbname=comidas'; try { $db = new PDO($connect,'root',''); $db->setattribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);...
asked by 21.09.2018 / 01:33
0
answers

Problem with Error 403 Forbidden in certain cases

I am developing a sales system, with HTML, javascript, php, jquery and ajax (it may not be the best combination but it is my first system), and when I want to transfer the data of a sale to excel with PHPExcel (the typical summary that is delive...
asked by 21.09.2018 / 02:45
2
answers

Automatic php refresh system

Hi boy @ s I'm looking for a way to generate a random content sheet (chunks of lyrics) that refreshes every x seconds. So far I have managed to get the system to visualize the random content (great) every time I update the page and also refre...
asked by 21.09.2018 / 10:34