FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Using echo to run separate PHP script from HTML
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Using echo to run separate PHP script from HTML [message #179922 is a reply to message #179919] Wed, 19 December 2012 18:13 Go to previous messageGo to previous message
P E Schoen is currently offline  P E Schoen
Messages: 86
Registered: January 2011
Karma:
Member
"Richard Yates" wrote in message
news:9ml3d8te6o6c4u2f17hov6o0cuvp2bg8c7(at)4ax(dot)com...

> On Wed, 19 Dec 2012 07:30:35 -0500, "P E Schoen" <paul(at)peschoen(dot)com>
> wrote:

>> I am able to access this script using a simple HTML file if I do it with
>> a
>> direct <img src="goalgraph.php" />. But when I try to do so using PHP
>> within the HTML, using echo, it does not work.

> If your html script works, and you want to change it so that php is
> generating the html, then run the php that you have and look at the
> resulting page source to see how it campares with the html that works.

I was using Notepad to edit the file, so it was in Windows format and not
UNIX. I thought it was possible to save the file in UNIX format with
Notepad, but the only formats other than ANSI are Unicode and UTF-8, neither
of which work properly.

D-oh!

Thanks,

Paul
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: passing values into javascript
Next Topic: Digest Authentication
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 05:29:48 GMT 2024

Total time taken to generate the page: 0.04120 seconds