I found the answer!
$statement->bindValue(':sta1', (int) $start, PDO::PARAM_INT);
does work
More Related Contents:
- PHP PDO and Mysql [closed]
- How to properly set up a PDO connection
- How to use PDO connection in other classes?
- PHP PDO prepared statements
- PDO MySQL: Use PDO::ATTR_EMULATE_PREPARES or not?
- PDO Prepared Inserts multiple rows in single query
- Why I am getting Cannot pass parameter 2 by reference error when I am using bindParam with a constant value?
- mysql PDO how to bind LIKE
- Connect PHP to MSSQL via PDO ODBC
- PDO closing connection
- implement LIKE query in PDO
- Unable to retrieve UTF-8 accented characters from Access via PDO_ODBC
- How to get the total number of rows of a GROUP BY query?
- Fetching single row, single column with PDO
- How do I use pdo’s prepared statement for order by and limit clauses?
- How to connect to mssql using pdo through PHP and Linux?
- What is PDO & why should I use it?
- How to install pdo driver in php docker image?
- MySQL retrieve variable from Stored Procedure in PHP PDO
- Understanding pdo mysql transactions
- How to prevent PDO from interpreting a question mark as a placeholder?
- PHP PDO returning single row
- In PHP with PDO, how to check the final SQL parametrized query? [duplicate]
- Error while using PDO prepared statements and LIMIT in query [duplicate]
- PDO prepared statement fetch() returning double results
- php artisan migrate throwing [PDO Exception] Could not find driver – Using Laravel
- Get Last Executed Query in PHP PDO
- PDO and MySQL Fulltext searches
- PHP/PDO/MySQL: inserting into MEDIUMBLOB stores bad data
- PDO and MySQL ‘between’