Hi I have a table with id auto increment , I have another field is ref_id, i want to add same numeric data in this field for every 5 row & after every 5 row it will auto crease the no#.
Is this possible, if yes how can I do this?
What exactly are you trying to achieve? And yes it is possible. Every five inserts you increase the ref ID. But I have a feeling there is something shady going on here.
Now I need to retrieve the data from mysql table to show in a html table as it is in the excel file. I mean like D-F-E-G column. I hope you got my point.