Can I Detect Datatype (mysql) In Php For Database Column?

Discussion in 'Design & Development' started by hammaad yousaf, Apr 21, 2015.

  1. hammaad yousaf

    hammaad yousaf
    Expand Collapse
    Moderator

    Joined:
    Apr 13, 2015
    Messages:
    15
    Likes Received:
    9
    lets assume i have a table with 3 columns

    id, name, age

    id = int
    name = varchar
    agr = bigint

    can i detect datatypes in php? specially in Codeigniter model?
     

Share This Page