Hi, I am totally new to PHP and dont know a thing. I tried looking through the articles but they were of no use. My Question is: How can I just write php in a text editor, save it as a .php, and view it in internet explorer, offline? I have tried everything and it just wont work. I tried the code:
<?php echo "Hi, I'm a PHP script!"; ?>
in a .php file and nothing happened. Nothing will work, help!
I dont have a website, I just want to write and use the code.
Tnaks from Ashley Williams
At the bare minimum, you need to install php (if you just want to run it from the command line). If you want to view it through a browser, it has to be parsed by php via a webserver. You can install one of those on your machine pretty easy (Apache), or you can use someone else's (search Google for 'free php hosting').
-- By-Tor.com It's all about the Rush http://www.by-tor.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php