mercredi 16 août 2017

Adding an integer value into string in laravel

Hello Every one, I have an issue that is, I want to add an integer into a string for example I have two text field one is called series start and the other one is called series end now if user enters

FAHD1000001 into series start field

AND

FAHD1000100 into series end field

the algorithm should store 100 values into the database with increment into the each entry that is going to store into the database. i.e

FAHD1000001, FAHD1000002, FAHD1000003, ........., FAHD1000100

Is it possible to do so, if yes then how. Please help me



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire