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 #179923 is a reply to message #179920] Wed, 19 December 2012 18:23 Go to previous message
P E Schoen is currently offline  P E Schoen
Messages: 86
Registered: January 2011
Karma:
Member
"The Natural Philosopher" wrote in message
news:kasoik$onu$1(at)news(dot)albasani(dot)net...

> On 19/12/12 12:30, P E Schoen wrote:

<html>
<body>
Goalgraph
<hr />
<?php
//echo '<img src="' . "goalgraph.php" . '" />' . "\n";

> well that's plain wrong ..you have too much of a buggers muddle of quotes.

> printf makes things easier..

> try
> printf ('<img src="%s" />\n', 'goalgraph.php');

Actually that mishmash and the other "img src" using variables were
"correct", ugly enough.

The problem was not using UNIX file format.

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: Mon Jul 08 12:23:59 GMT 2024

Total time taken to generate the page: 0.04622 seconds