Re: Using echo to run separate PHP script from HTML [message #179923 is a reply to message #179920] |
Wed, 19 December 2012 18:23  |
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
|
|
|