Questions tagged as 'php'

1
answer

PHP - send data from a form to a modal bootstrap with php oop

I hope you can help me. it does not show any error and it does not respond when you click on the Save button. I tried the PHP insertion code on another page without booting and it works I wonder why it is not working in modal dialog. Annex co...
asked by 21.03.2017 / 20:35
1
answer

Error creating a combobox powered from Symfony doctrine

Now create the combobox, it is displayed correctly and it contains the correct value, but at the time of saving, it is entered in 0 in the database. My code is as follows ->add('idBpCustomer', 'entity', array( 'class' => 'chriscrudBun...
asked by 18.03.2017 / 22:15
1
answer

Hash of plain text users

I have several records (about 300) where users have their password in plain text and I want to pass it to HASH use a file to convert the passwords and then insert them, but it happens that some are blank, because?. To verify that it was no...
asked by 20.03.2017 / 19:13
2
answers

Help JSON encode PHP

Hello I have something like this from a json_encode () in PHP ["texto1.","texto2","texto3"] and I want to get something like this "cast": [ { "name": "texto1" }, { "name": "texto2" }, { "name": "t...
asked by 19.03.2017 / 17:41
1
answer

How can I update data from a multiple input select in mysql

I have a problem (I do not know how to do an UPDATE) when it comes to updating the student's file since it only changes the name and image of the student, and what I want to do is add or remove the courses in which it is enrolled from a multiple...
asked by 19.03.2017 / 14:12
1
answer

Error in menu with jQuery function

I have the following code: <script type = "text/javascript"> lightbox.option({ 'alwaysShowNavOnTouchDevices': true }); listapremier(); $(function(){ $('a').click(function(e){...
asked by 10.03.2017 / 00:58
2
answers

Update the image view when replacing it in the source folder without reloading the page

I have the following problem, it is a page where the products have an image, I want to change the image, replacing it in the source folder, that works for me. What does not work for me is how to update the new image (which has the same name and...
asked by 09.03.2017 / 04:23
2
answers

Ajax Fill input fields from combobox

I need help because I can not achieve this: Here I have a code that I got on the web and adapted to fill dependent comboboxes. But I need that from the selection of the combo #sucursales the input field #Direccion is completed, obtaining data fr...
asked by 10.03.2017 / 15:19
1
answer

Is there any way to catch the value / content of these input via PHP?

As it were, so I have structured everything: Here is the website with fixed textarea and those that can be generated. <script language="JavaScript"> window.onbeforeunload = confirmExit; function confirmExit() {...
asked by 22.03.2017 / 08:55
1
answer

Allow the user to save in csv the data of a mysql query on their local pc

I'm doing an HTML interface with forms that the user fills, save the data in mysql and then consult and display them in a table. I wanted to add a button that allows me to choose a local directory to save that table, like a csv with the purpo...
asked by 07.03.2017 / 15:15