I want to make a id in database
id_user => data type 'varchar'
I want my id to start from 00
, 01
, 02
, and so on.
And to make new id, I count the all the rows, and the result from count will be added by 01.
Example:
$id=array(00,01,02);
$count_exist_id = $count($id)
$new_id= '00' + $count_exist_id
and I hope the new id must be '03'
and it will be store to database in table user column id_user