> Hi All, 
> These probably sound like really trivial and stupid questions to you but I
> am a newcomer in this field. I have literally started looking at PHP this
> weekend as I have been given a project in work to do and PHP seemed like the
> best option. I have some previous programming experince so not a complete novice
> at this type of thing. I have been looking through beginner's tutorials on sites
> and invested in a couple of books, but I am having problems. I have come to
> realise that there are two different ways of doing PHP. You can embed it into
> you html file and save it as html or write the code and save it as .php file. I
> have copied expamples letter by letter and cannot get anything to work. Not sure
> why but I am pretty sure it's something stupid I have missed. I have tried
> creating html files with the PHP embedded into them and also saving the code ad
> .php files. When I try and open them in my IE browser window I get nothing.
> Anyone any ideas what I may be missing. I am getting rather frustrated with it
> now. Linds
> 
First, you can only use PHP in php files (.php, .php3, .phtml), HTML files are not 
parsed by the server at all and browsers don't recognise php tags.
Second, you need to be running a web-server program with PHP so the language 
can be parsed and the output dynamically created to give you your custom HTML 
page.
These are just primary pointers. If you've done all this, we could use some more 
details.

Symeon Charalabides (cosmopolitan trainee)
------------------------------------------
http://www.webmate.gr


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to