Questions tagged as 'php'

1
answer

Codeigniter Login

I recently started developing an application using CodeIgniter and the following problem came up: I have a login form that is part of a navigation bar, the idea is that if the user indicates wrong login data, an error message will be printed...
asked by 12.02.2017 / 02:18
1
answer

Return values of a table separated by commas and access each value in specific

I have a list of checkbox in which the user selects and sends the form , they are saved in a array and put them in a data table, these are saved as for example: Chino, Árabe, Español . By sending a select to b...
asked by 10.02.2017 / 17:17
1
answer

pdo date format

hi I want to show the date in this format in a query "d-m-Y" because when the storage in the bd is stored in this way "Y-m-d" type date append a piece of my query, thanks in advance 'while ($linea = $consulta->fetch(PDO::FETCH_ASSOC)) { ec...
asked by 13.02.2017 / 05:50
2
answers

Hide select COLUMN in MYSQL

I am using a wordpress plugin called TABLEMASTER to show tables in a post or a page. In this link link You can see that I have a result of a select that I made and it is as follows:    [tablemaster sql="SELECT AP, T, CA, H, 2H, 3H, HR, CE,...
asked by 09.01.2017 / 11:56
4
answers

Validate dates with JavaScript

I have a problem when validating dates using JavaScript. I have the following form: <tr> <td> <input type="date" name="fecha1" value="<?php echo date($fecha1);?>"> </td> </tr> <tr>...
asked by 16.01.2017 / 18:07
2
answers

Fill a select from mysql with php

I need to show a select with a quantity of data from a table, and that on clicking I can load a value (the id ). I come from VB6 where it was quite easy, here I see that it has some more lap. For aesthetic reasons I got a cod...
asked by 16.01.2017 / 13:44
2
answers

Problem with position relative and responsive

I am developing an interactive map with <div> instead of the <map> tag but I have a problem when it works with responsive. That is to say, when I shrink the explorer the capsules are out of phase and I do not know how I...
asked by 17.01.2017 / 19:48
1
answer

Autocomplete does not work with jquery php mysql

This is the code I have: $(document).ready(function() { //Al escribr dentro del input con id="pieza" $('#pieza').keypress(function() { //Obtenemos el value del input var pieza = $(this).val(); var dataString = 'pieza...
asked by 17.01.2017 / 17:14
2
answers

Send data from a table in a modal to a php table using php and jquery

I have a bootstrap modal to which I load data from my database in mysql what I want it to do, is that by clicking on the add button I add the product of the modal row to a table in php in another page and when I gave it to another product, I add...
asked by 16.01.2017 / 01:09
3
answers

Problems with jquery buttons (dataTables)

Good morning, I am creating two tables in the same html file only in different tabs, in each table headings are handled and an export button to excel, the problem that generates me is that when exporting the tables, only the button of the first...
asked by 16.01.2017 / 18:21