
Query:Table---- mysql> select pid,medicinename,dose,day,qty from medicinedetails2 where pid=15; +-----+------------------------------------+-------------------------------------------------------------------------------------------+----------------+----------------+ | pid | medicinename | dose | day | qty | +-----+------------------------------------+-------------------------------------------------------------------------------------------+----------------+----------------+ | 15 | ACCUZONE& AIR WAY& BOOSTIM LB& | 1 gaaolaI sakalia,duparI,ra~I&1 gaaolaI sakalia,duparI,ra~I&1 gaaolaI sakali,duparI,ra~I& | 5& 11& 15& | 7& 11& 16& |
output:
medicinename dose day qty ACCUZONE 1 gaaolaI sakalia,duparI,ra~I 5 7 AIR WAY 1 gaaolaI sakalia,duparI,ra~I 11 11 BOOSTIM LB 1 gaaolaI sakali,duparI,ra~I 15 16
row data is separated as per the '&' sign.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.