Jump to content

alecks

Members
  • Posts

    80
  • Joined

  • Last visited

    Never

Everything posted by alecks

  1. Ah, ok it works. Thanks very much
  2. newbie question (i think): Can functions be placed directly into arrays? ex: $array = array('example' => (is_dir(/example/example2))?print "yes":print "no"); I know this can be accomplished like this: $example = (is_dir(/example/example2))?print "yes":print "no"; $array = array('example' => $example); but I would still like to know. (ps. is the above syntax correct?)
×
×
  • 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.