Find the size of an SQL column with PHP? -
i'm trying build simple login system site (just practice project i'm working on). way i've decided implement use table fields id, name, password, , username , search entered information in existing table.
for registration, injects information supplied table, , assign customer id number. idea assigning id number find size of id column (which contain id's 1,2,3..etc end) , assign new registration length +1. purpose i'll need way size of column, i'm learning php , sql i'm not sure syntax be.
tldr; there funtion in sql can use in php length of particular column? (i.e number of entries stored in column?)
set id column primary , auto increment.
you don't include in query created on own.
Comments
Post a Comment