Github Twitter LinkedIn YouTube
Github Twitter LinkedIn YouTube
Florent Poujol
Development, Web, Video Games...
 
Skip to content
  • New site
  • Home (old blog)
  • Web
  • Superpowers
  • Craftstudio
  • Unity3D
  • About me
  • GitHub
Home Posts tagged "PDO"

Tag: PDO

How to get integer columns as actual integer with PHP/PDO/MySQL

tl;dr: It is not the job of a database system (SQLite, MySQL, …) to cast queried data into each column’s type. A database will return data as string, even for integer columns. So if your query returns you any other type than string, then it is typically tanks to the database…

Continue reading

Florent January 8, 2018 January 8, 2018Tutorials, Web MySQL, PDO, PHP, SQLite
Github Twitter LinkedIn YouTube
Powered by Tempera & WordPress.