Jump to content

cyborgeek

New Members
  • Posts

    1
  • Joined

  • Last visited

cyborgeek's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. <?php $str = "capitalize "; $str_implode = str_split($str); $caps = true; foreach($str_implode as $key=>$letter){ if($caps){ $out = strtoupper($letter); if($out <> " ") //not a space character $caps = false; echo $str; ?> // I realize this is an error unsure if I need to array() or convert case ??
×
×
  • 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.