i made something but i dont know how to load it
i did Print($cpu);
but it doesnt seems to work anyone got an idea??
Printable View
i made something but i dont know how to load it
i did Print($cpu);
but it doesnt seems to work anyone got an idea??
You need a webserver with PHP enabled, or run it trough PHP manually using "php.exe yourpage.php" - which ofcourse only works if you included php.exe into your systems path and are in the base directory of the php file.
If you didn't put anything IN the $cpu variable it won't print anything ofcourse since PHP doesn't fill stuff like that in automatically. Its ofcourse a different mater for a few superglobals, which you can try by doing this for example:
PHP Code:print_r($_SERVER);
my webserver supports php because everything im using is php
and it still doesnt works :punch:
it just will show the text print_r($cpu);
thanks for replying
make sure there are php tags.
Also, doesn't echo and print mean the same thing?PHP Code:<?php
...
?>
e.i.
PHP Code:<?php
echo $cpu;
?>
How do you expect us to help if all you write is a few vague lines?
Post the source!