Questions tagged as 'php'

2
answers

is there a better way to combine the html code with php than the following?

<thead> <tr> <th>nombre</th> <th>apellido</th> <th>marca</th> <th>matricula</th> </tr>...
asked by 27.09.2018 / 20:13
1
answer

Clear input type text when clicking the button

Hello, I need that when I click to send the data I delete what I write but without using a reset button this is my code of my button THIS IS MY HTML AND JAVASCRIPT <div class="col-sm-4 form-group"> <label class="control-label">...
asked by 27.09.2018 / 16:47
1
answer

Validate token and email from a url in php

I'm doing a password recovery system. The issue is that when I get into the url that generates me, I think it does not validate the email and / or token and does not teach me the input to have it put in a condition if they change data from the U...
asked by 27.09.2018 / 15:41
1
answer

Get Reviews of a Facebook page

Currently I am developing a website where my boss wants to show the ratings and comments that have been made on the Facebook page link PAGE / reviews / Try to do this with PHP using the file_get_contents() function to get the...
asked by 13.07.2018 / 18:45
2
answers

error Column count does not match value count at row 1

I am trying to save a form in the MySQL database, but when I try to execute to save, it shows me this error:    Column count does not match value count at row 1 In the form I only have the necessary fields, the others I do not put them...
asked by 13.07.2018 / 01:26
1
answer

show new items through ajax if the login is correct

I have the following idea 1) User fill in a simple form (nick and pass). 2) It is checked in the database and if it is affirmative it has access to new tabs, elements of the previously hidden page. Important I want to use technology...
asked by 26.06.2018 / 11:45
1
answer

PHP mysql query

I have the following problem I can not make a query to mysql from the html form, the error is in the mysql query    Unable to execute query.You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version...
asked by 26.06.2018 / 12:16
1
answer

Pass an array to a view in cakephp

I have an array in this way doing a var_drum. array (size=1) 'articles' => array (size=36) 0 => object(stdClass)[134] public 'id' => int 56 public 'title' => string 'prueba con servicio jso...
asked by 27.06.2018 / 16:15
1
answer

Does anyone know how to read an excel with PhpSpreadsheet in Codeigniter?

I am trying to read an excel file in codeigniter to save it in a database. I was looking for a php library to work with excel and found phpExcel but when I go to the site it tells me that it is deprecated and that it is now phpspreadsheet...
asked by 05.01.2018 / 14:38
1
answer

pass jquery field values to php and save them to database

hello everyone I have a situation where I have two documents request.php and guardianship.php in the file request.php I have a to add fields. var nextinput = 0; function AgregarCampos(){ nextinput++; campo1...
asked by 29.06.2018 / 17:10