|
Posted by rhXX on 06/13/07 15:34
Try saving it as a .php file :-)
I take it you are uploading it to a server?
--
Geoff Berrow (put thecat out to email)
> Check the source of the html page, and you find the php-part in there just
> fine. It only didn't execute. :)
EXACTLY
> The problem with your approach is that you need PHP to actually run.
> Just throwing it into a browser as a html-file will not do.
> You need PHP installed on a server (can be your own machine), and tell your
> webserver (Apache/IIS/whatever) that it should use PHP for all requests
> that end with .php (.html is NOT a smart idea).
>
> That asside, I tink e_matthes gave you a better answer: Just get a good
> book.
> I prefer books from O'Reilly, but that is a matter of taste.
>
> Regards,
> Erwin Moller
ok, perfect! it worked fine with .php
the tutorial i found, talked about php code inside html code, only,
without precising where it is processed! i thinked that is processing
in the browser .... now seeing both sources i understood the
difference!
sincerely, tks a lot!!!!!!!!!
Navigation:
[Reply to this message]
|