Questions tagged as 'php'

3
answers

JQuery Array in prestashop

I've been stuck with a prestashop script for a couple of days. I need to bring some values from the database and I'm doing them using jQuery, since those values depend on what a user has selected on the web. The problem is that I'm not doing it...
asked by 28.11.2016 / 12:42
1
answer

PDO num_rows count

I have this select input that gives me the option to choose a name of all the ones that can be removed: <td width="50%"> <select class="form-control" id="acro_proyecto" name="acro_proyecto" required> <option value="<...
asked by 01.06.2017 / 07:06
2
answers

How to upload different profiles on the same page?

I have a site (or I'm doing it) where I can see the profile of the user that I select from index.html . This page where the user's data is loaded is called user.php and the page where I see the profile of the current user (logged in) is ca...
asked by 26.11.2016 / 03:46
2
answers

How do I apply a function to this array

I have this array that returns the id of the images but with a wordpress function I need to apply them to each of the id that returns the array and this function will be responsible for converting them into url, each one ....
asked by 24.11.2016 / 15:49
3
answers

Change rowspan by ID using jQuery

Good morning, I'm making a website for the integrated project after finishing the higher degree of systems. The website is for a "gym". I was good until I had a schedule that I want to do and that is dynamic, that takes the data (of activities)...
asked by 31.05.2017 / 08:48
1
answer

Problem when exporting to excel on the server

I have the following problem I have a file php that I export to excel and download it automatically but it only works for me locally, if I upload it to the server it just opens like any other page. What can it be? <?php include_once...
asked by 20.12.2016 / 23:12
1
answer

MPDF Do not insert my stylesheet css

Good morning, I am working with mpdf to generate pdf files from a document html I have the following structure: <?php require('MPDF57/mpdf.php'); $html=''; $mpdf=new mPDF('c','A4'); $mpdf->writeHTML($html); $mpdf->Outp...
asked by 20.12.2016 / 18:10
1
answer

PHP money_format

Hello I am receiving as parameters a string or integer, it does not matter ... I have used number_format in PHP to show quantities, I want to try money_format but I have trouble when trying to find numeric format for my country. Example: setl...
asked by 28.11.2016 / 21:02
1
answer

how to autocomplete data with ajax and php?

I have a table in mysql called clients with the fields (id, client_name, client_address, client_phone, client_ email) and I show the data in the following table through a modal window Now what I want to do in another page is to place an in...
asked by 30.11.2016 / 03:17
2
answers

Show a default value in a listbox obtained from a MYSQL database

I have the following table that shows a list of data inserted in it: Career Table: To show them in the form I use the following function: function bd_carrera_opciones() { $sql = "SELECT carr_id,carr FROM carrera ORDER BY carr ASC";...
asked by 01.12.2016 / 15:25