Hi...this is my first post
i have problem with my website...
i need to generate code like
CANGGU0000001
CANGGU0000002
CANGGU0000003
CANGGU0000.....
UMALAS0000001
UMALAS0000002
UMALAS0000003
UMALAS00000...
for every property listing....
i have property.php as a single template for all directory listing (no dynamic folder only clonable)
NOTE:
CANGGU, UMALAS etc is the locality (property location)
<cms:editable name="my_locality" label="Locality" desc="Select one from these" opt_values=' Canggu | Umalas | Kerobokan | Seminyak | North Seminyak | Sanur | Ubud | Kuta | Legian | Jimbaran | Nusa Dua | Uluwatu | Denpasar | Tabanan ' type="dropdown" order='4' />
How do i create the sequence / increment number?
How to start the sequence from 1 for every location?
I appreciate for any help....
many thanks
i have problem with my website...
i need to generate code like
CANGGU0000001
CANGGU0000002
CANGGU0000003
CANGGU0000.....
UMALAS0000001
UMALAS0000002
UMALAS0000003
UMALAS00000...
for every property listing....
i have property.php as a single template for all directory listing (no dynamic folder only clonable)
NOTE:
CANGGU, UMALAS etc is the locality (property location)
<cms:editable name="my_locality" label="Locality" desc="Select one from these" opt_values=' Canggu | Umalas | Kerobokan | Seminyak | North Seminyak | Sanur | Ubud | Kuta | Legian | Jimbaran | Nusa Dua | Uluwatu | Denpasar | Tabanan ' type="dropdown" order='4' />
How do i create the sequence / increment number?
How to start the sequence from 1 for every location?
I appreciate for any help....
many thanks