Questions tagged as 'php'

1
answer

Edit DATATABLE of JQUERY

I have a DataTable filled with a query, the problem is that in the database I do not have as many zeros as it shows in DataTable How can I remove them? In addition to this how can I edit some characteristics of DataTable...
asked by 29.07.2016 / 16:56
1
answer

Pages in tables

How can you make this table when it is filled by showing "page" 10 lines, and when you pass those 10 lines, you have to make another page, and put a search engine. I find it hard to do all this because I'm new, and I'm trying to learn....
asked by 25.05.2017 / 11:19
2
answers

Do not execute click event

This is the code that I have of the button (The variables are equal to the result of a query, I checked and they are fine): echo '<input type="button" value="ELIMINAR" class="btnForm" onClick="eliminar('.$idEvento.','.$nombre.')" /> ';...
asked by 11.06.2016 / 15:56
1
answer

There is some way to automatically fill an array for json

I do a mysql query, the data in the table I load each one in a variable and then I return each one in json, I find it tedious to do field by field, is there any way to do it automatically? this is the code. <?php if (!function_exi...
asked by 11.06.2016 / 22:10
2
answers

Generate an html menu with an array in php

I have this array: <?php $MENU = array(); $MENU["ESCRITORIO"] = array ( 'emparentar' => true, // emparentar == true ? muestra en el nivel superior menu : no lo muestra en el nivel superior 'abilitado' =&...
asked by 26.06.2016 / 11:48
2
answers

Encode string in php

I'm making a script that encodes a string and saves it in the database. Then check that string in the database to see if the user is registered in the platform. I currently use sha512 , but I think it's random right? First I insert a...
asked by 01.07.2016 / 07:18
1
answer

Save as copy in Symfony

I'm trying to create a form that has two buttons, save as a copy and save and overwrite. My affected entities in the form are: Checklist-> ChecklistGroup-> ChecklistGroupTask-> ChecklistGroupTaskCorrective Until now I have been able to con...
asked by 30.06.2016 / 07:52
1
answer

Activate / deactivate checkbox bootstrap-toogle

I have several detail lines on the screen, each one with two checkboxes (one of them bootstrap-toogle) and I would like it when the first checkbox is activated, the second is enabled and it is set to on, and when the first checkbox is deactivate...
asked by 28.09.2016 / 10:59
2
answers

How can I validate from jquery a form that is repeated several times within a while cycle?

I am trying to validate a form that has inputs (radio type) that are repeated through a while cycle while data is being found in the db. I can not validate these dynamic forms using jQuery because if I let it validate only the input th...
asked by 28.09.2016 / 15:56
1
answer

import xls with rich text, with phpExcel

I am looking for a way to import an xls with rich text to the server database through phpExcel. Some cells in the file contain plain text and other rich text, with several formats in the same cell. I have already checked the option getStyl...
asked by 19.07.2016 / 12:06