Why am I getting this output Bob's Auto Parts Order Results Order processed DW " ; ?>
from this code <html> <head> <title>Bob's Auto Parts - Order Results</title> </head> <body> <h1>Bob's Auto Parts</h1> <h2>Order Results</h2> <?php echo "<p>Order processed DW </p>" ; ?> </body> </html>
Tearing my hair out.
Hi,
by the looks of it you are not using the php filter.
Gordon.
On 14/09/2012, at 2:02 PM, Anthony tony@tony-mac.com wrote:
Why am I getting this output Bob's Auto Parts
Order Results
Order processed DW " ; ?>
from this code
<html> <head> <title>Bob's Auto Parts - Order Results</title> </head> <body> <h1>Bob's Auto Parts</h1> <h2>Order Results</h2> <?php echo "<p>Order processed DW </p>" ; ?> </body> </html>
Tearing my hair out.
Anthony Stefan Maciejowski
-- Anthony Stefan Maciejowski
-- [ Drupal support list | http://lists.drupal.org/ ]
Which filter? Where?
tony mac is building web sites.
-----Original Message----- From: Gordon Heydon gordon@heydon.com.au Sender: support-bounces@drupal.org Date: Fri, 14 Sep 2012 14:05:54 To: support@drupal.org Reply-To: support@drupal.org Subject: Re: [support] extremely simple php snippet with unknown error
There are Input filters in Drupal. Here is the doc link - http://drupal.org/documentation/modules/filter
another good article - http://www.lullabot.com/articles/drupal-input-formats-and-filters
On Fri, Sep 14, 2012 at 10:58 AM, Tony MAC tony@tony-mac.com wrote:
Which filter? Where?
tony mac is building web sites.
-----Original Message----- From: Gordon Heydon gordon@heydon.com.au Sender: support-bounces@drupal.org Date: Fri, 14 Sep 2012 14:05:54 To: support@drupal.org Reply-To: support@drupal.org Subject: Re: [support] extremely simple php snippet with unknown error
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi Anthony Absolutely no issue with the code below. I just pasted the code in my page.tpl file and I get proper output (do not get " ; ?> ).
Probably you need to look 1. either any special characters are there , may be you can delete that block of code and type fresh 2. if any previous code "" are not completed properly
Thanks Kamal
On Fri, Sep 14, 2012 at 9:32 AM, Anthony tony@tony-mac.com wrote:
Why am I getting this output Bob's Auto Parts Order ResultsOrder processed DW " ; ?>
from this code
<html> <head> <title>Bob's Auto Parts - Order Results</title> </head> <body> <h1>Bob's Auto Parts</h1> <h2>Order Results</h2> <?php echo "<p>Order processed DW </p>" ; ?> </body> </html>
Tearing my hair out.
*Anthony Stefan Maciejowski*
--
*Anthony Stefan Maciejowski*
-- [ Drupal support list | http://lists.drupal.org/ ]