Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #7855

Re: Using echo to run separate PHP script from HTML

From "P E Schoen" <paul@peschoen.com>
Newsgroups comp.lang.php
Subject Re: Using echo to run separate PHP script from HTML
Date 2012-12-19 13:23 -0500
Organization A noiseless patient Spider
Message-ID <kat0ni$oa5$1@dont-email.me> (permalink)
References <kasc1f$m0s$1@dont-email.me> <kasoik$onu$1@news.albasani.net>

Show all headers | View raw


"The Natural Philosopher"  wrote in message 
news:kasoik$onu$1@news.albasani.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

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Using echo to run separate PHP script from HTML "P E Schoen" <paul@peschoen.com> - 2012-12-19 07:30 -0500
  Re: Using echo to run separate PHP script from HTML Richard Yates <richard@yatesguitar.com> - 2012-12-19 07:02 -0800
    Re: Using echo to run separate PHP script from HTML "P E Schoen" <paul@peschoen.com> - 2012-12-19 13:13 -0500
      Re: Using echo to run separate PHP script from HTML Jerry Stuckle <jstucklex@attglobal.net> - 2012-12-19 15:05 -0500
        Re: Using echo to run separate PHP script from HTML "P E Schoen" <paul@peschoen.com> - 2012-12-19 16:59 -0500
          Re: Using echo to run separate PHP script from HTML Jerry Stuckle <jstucklex@attglobal.net> - 2012-12-19 17:50 -0500
      Re: Using echo to run separate PHP script from HTML Luuk <luuk@invalid.lan> - 2012-12-19 21:23 +0100
        Re: Using echo to run separate PHP script from HTML "P E Schoen" <paul@peschoen.com> - 2012-12-19 18:33 -0500
          Re: Using echo to run separate PHP script from HTML Richard Yates <richard@yatesguitar.com> - 2012-12-19 17:24 -0800
      Re: Using echo to run separate PHP script from HTML "Peter H. Coffin" <hellsop@ninehells.com> - 2012-12-19 14:32 -0600
        Re: Using echo to run separate PHP script from HTML Jerry Stuckle <jstucklex@attglobal.net> - 2012-12-19 17:51 -0500
  Re: Using echo to run separate PHP script from HTML The Natural Philosopher <tnp@invalid.invalid> - 2012-12-19 16:04 +0000
    Re: Using echo to run separate PHP script from HTML "P E Schoen" <paul@peschoen.com> - 2012-12-19 13:23 -0500

csiph-web