This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 20th, 2013  |  syntax: PHP  |  size: 0.17 KB  |  views: 2,924  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?
  2. function trueFalse($val) {
  3.     if ($val) {
  4.       return 'true';
  5.     }
  6.     else {
  7.       return 'false';
  8.     }
  9.   }
  10.  
  11. if (trueFalse($_GET['menu_id']) === 'true) .....
clone this paste RAW Paste Data