Hi there,
im using phprunner,
i want to made automatic value on a field base on value from last record,
example :
i hade field : id ( int, autoincrement), field name ( varchar ) and id number field (uniqe) , and i want id_number field is generated automatically when i'm adding record, the format of the id number like ???-01-2011 ( ??? is number generated automatic , 01 is value from month format within month of record addedd , 2011 isvalue from year format within year of record addedd.
so it's gonna like this , first record for example 001-01-2011 , when i clik add record for new record, the text field of id_number will automatically insert 002-01-2011 , and till the current month / year chance to next moth or year , the id_number will reset and begin from 001 again with defrent month, for example 001-02-2011,
can any one help me,
sorry for bad english, hope you guys's understand and can help me..
Thanks and regards
Boni