Questions tagged as 'pdo'

1
answer

validate session gives me error

hello friends I have modified a file validate session in pdo but I get an error the error that gives me is the following:    Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE [HY093]: Invalid parameter number: no parameter...
asked by 11.12.2016 / 03:59
1
answer

Error migrating in Laravel 5.3

I get this error when wanting to migrate the tables that Laravel gives us by default. I'm occupying Linux; [Illuminate\Database\QueryException] could not find driver (SQL: select * from informat...
asked by 22.12.2016 / 23:42
1
answer

How to update this code to PDO

Hello, I am trying to update a table in MySQL with jQuery , with queries to PDO . Here I have the code that I do not know how to update: while($registro2 = mysql_fetch_array($registro)){ $tabla = $tabla.'<tr>...
asked by 15.09.2016 / 15:02
2
answers

Someone who manages PDO bindParam, I would greatly appreciate your help [closed]

SELECT * from contact_company inner join company on company.id_company = company_contact.business_enterprise WHERE contact_state = 'ACTIVE' AND company_contact_id! = 0     
asked by 16.09.2017 / 00:36
1
answer

Validate input with PHP

I have a question, how can I validate two input in PHP ? The first must validate only these numbers: 00, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10... to number 37. If you enter another number that is not in that line must give error and th...
asked by 29.05.2017 / 15:58