Hello Ashley, On 30 Jan 2004 at 18:51, Ash wrote:
> 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. I'm afraid things are not quite that simple. A PHP script requires a processor to interpret the code and do whatever needs to be done, so you'll need to have the processor on your computer. If you don't really know what you're going to be doing with PHP and just want to play around with a scripting language without having to install a web server and a PHP interpreter, try JavaScript. One of a million sources of introductory info on JavaScript: http://www.w3schools.com/js/js_intro.asp More info on obtaining and installing PHP here: http://www.php.net/manual/en/installation.php Good luck, Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php