Hello to all,
I need your help,,,I m beginner of the php...
i have to generate a user id for register users & it depends upon the batch field,,
<option <?php if(($batch)=="1983-86")echo "selected";?>>1983-86</option>
<option <?php if(($batch)=="1984-87")echo "selected";?>>1984-87</option>
<option <?php if(($batch)=="1985-88")echo "selected";?>>1985-88</option>
<option <?php if(($batch)=="1986-89")echo "selected";?>>1986-89</option>
i need to select batch="1983-86" , year 1983 last 2 digits... that means
83001,83002,83003.....etc like this i need to generate please help me.........