Questions tagged as 'php'

1
answer

Datatable Error Can not read property 'mData' of undefined

I am showing the data from my Database in a table using javascript the data is displayed correctly, but the DataTable options are not being displayed. In the browser console I get this error Uncaught TypeError: Cannot read property 'mData'...
asked by 27.12.2017 / 22:31
1
answer

How to fill select with javascript php and jquery?

I would like you to help me with the doubt I have <head> <meta charset = "UTF-8"> <title>Formulario de registro</title> <link rel="stylesheet" href="../css/reg.css"> <script src="../js/llenar.js...
asked by 28.12.2017 / 18:42
3
answers

paste header and footer in several pages [duplicate]

Hello community, today I have a problem, I'm optimizing my business website so it's easier to work and I thought of including a header in all the pages, importing it from the html document the problem is that I do not know how to do it and s...
asked by 15.01.2018 / 01:21
1
answer

Error integrating Redsys payment gateway using PHP API

Greetings community. I am finishing a virtual store and I am integrating the payment gateway to the store. The payment gateway is Redsys, I have already integrated and processed payments and everything went well, I have tried several times and w...
asked by 14.01.2018 / 23:56
1
answer

Display data from B.D. in an HTML select

Good people, well here's my problem, I have a page in php with the html view, we go a page of all life, which is accessed after a login, I've verified that after login the important data , that is, the ID and the User's Name are passed correctly...
asked by 22.01.2018 / 16:18
1
answer

Symfony Unable to find template "BlogBundle :: home.html.twig"

I am learning symfony 3.4 and I am trying to link a route with a view. When I run the program using the route: http://127.0.0.1:8000/home It generates the following: Unable to find template "BlogBundle :: home.html.twig" My routing.y...
asked by 06.02.2018 / 13:56
1
answer

Consume a Json Web Service with PHP

Good morning how are you, I hope very well, I would like you to help me a bit in a matter of consuming a web service through a URL that should return a result in JSON, something that does not work and also in the result It just throws me weird s...
asked by 06.02.2018 / 14:36
1
answer

like going through a table and getting the values inside the input with jquery

I want to go through the table and get the value inside each td and then inside the input in its value property. I have this but it does not work for me. it returns only the first 2 columns the rest that has input does not do it. $("#2a tbo...
asked by 02.01.2018 / 19:45
1
answer

adding cells with while in PHP grouped

I have a table drawn in PHP with records of a select in the database, and the drawing like this if(!is_null($plantilla)) : $curp_prof = ' '; $hrs_base = 0; $hrs_comp = 0; $hrs_int = 0; $hrs_conf =...
asked by 20.12.2017 / 19:42
1
answer

How can I make an entry always up MYSQL PHP

I come to ask for your help, I am programming a forum in php and mysql without a framework, and I need to put in the list of entries the rules of the forum so that it remains fixed (ALWAYS UP) and so when users fence entering new entries appe...
asked by 21.01.2018 / 02:04