Jump to content

longree

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

longree's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. arrrr, I didn't know global was an input AND an output function... Thanks for that! Good luck with php scott, cya around!
  2. Oh right, - PHP is very useful to know... - It's just nown and then I come up with some new problems...
  3. Either way works... http://php.net/functions [quote]In PHP 3, functions must be defined before they are referenced. No such requirement exists since PHP 4. Except when a function is conditionally defined such as shown in the two examples below. [/quote] Don't tell me you still use PHP 3 :o???
  4. You and I both know that wouldn't make a difference in this case...
  5. Simple Solution: [code]<?php      $cmd =   system("free -m");      echo"$cmd"; ?>[/code] Edit[Sorry, didn't see you wanted to put it into tables... hmm... i'll come back on this one...]
  6. Can anybody tell me how I would echo $test? Inother words, how can I global test out of test()? [code]<?php   test();   testtwo();      function test()   {     $test = "Hello this test is working!";   }    function testtwo()   { extract($GLOBALS);                  echo"$test";   } ?>[/code]
×
×
  • 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.