Jump to content

how to change provious fetched while loop


man12_patil3

Recommended Posts

hi all,

 

  My prob. is that i am feacthing record from DB by while loop (Mysql fetch Arry) and print it row by row.

 

  id    Begnning Stage          Ending Stage                    Active

 

  1      Begnner   Intermidiate       "No"

  2    Intermidiate    Uppper intermidiate      "Yes"

  3      Begnner   Intermidiate       "Yes"

  .     . .         .

  .     . .         .

  .     . .         .

  .     . .         .

  n     . .         .

 

as above mention i want to  Active is "NO" IF first Records Ending stage is same as next record "Begnning Stage".

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.