Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <?php
  2. $ship_date = $row['ship_date'];;
  3. $ship_date = date("m-d-Y", strtotime($ship_date));
  4. ?>
  5.  
  6. $ship_date = $row['ship_date'];
  7. if ($ship_date == NULL){
  8. $ship_date = "";
  9. }
  10. else {
  11. $ship_date = date("m-d-Y", strtotime($ship_date));
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement