Jump to content

kavsher

New Members
  • Posts

    1
  • Joined

  • Last visited

kavsher's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I have this code below the browser shows correct data but when i export to word I see $proc output not the switch data like on the the browser page How should code be written to show the same on word doc . I'm new to this learning by trial and error Please go easy on me . Thanks <td> <? $macro=$row['proc']; switch ($macro) { case "00000": echo "ConsultNC"; break; case "Cancel": echo "Cancel NC"; break; case "92507 x1": echo "ST Only"; break; default: echo $row['proc']; }?></td> <?$report_html =$report_html."<td>".$macro."</td> ";?>
×
×
  • 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.