Variables - showing onpage

From: Biph (biph69_at_biph.com)
Date: 11/30/03


To: php-general@lists.php.net
Date: Sun, 30 Nov 2003 01:54:03 -0600

I have a question, and maybe I'm an idiot (alright not maybe). I can't get
the damned variables to stop showing their variable names on the screen,
like a variable $stock_quote appears in the HTML as $stock_quote, what the
hell am I doing wrong? I'm using Win2K to test a site on my own computer
using Apache2, but all variables from MySQL to PHP are just showing up as
the variable name and not the value in the HTML.Any help would be nice.
example:
<?php
$price = 1.00
print('the price is: $price')
?>
is apprearing as:
the price is $price
in the HTML instead of:
the price is 1.00



Relevant Pages

  • RE: [PHP] Variables - showing onpage
    ... [PHP] Variables - showing onpage ... like a variable $stock_quote appears in the HTML as $stock_quote, ... print('the price is: $price') ...
    (php.general)
  • Yes, this is THE system
    ... After cancelling and rescheduling a few times, ... at what I think is an amazing price. ... The Intel Wireless ... 3945 is showing as a/g but I thinkthat it should say a/b/g, ...
    (alt.sys.pc-clone.dell)
  • Re: NBC Any " Firefly " Fans out there?
    ... >>> Amazon, but that's still a great price! ... Unfortunately, not worth it for ... >> I'm still showing the ridiculous deal... ...
    (rec.music.artists.springsteen)
  • Coverting Text File to Table
    ... I need to create a table showing part number data for items we manufacture. ... Unfortunately this is only available in a printed format. ... After this stage I had a table with a single column. ... Price: 25 ...
    (microsoft.public.access.queries)
  • Re: Senior Railcard Question
    ... Phil Richards wrote: ... If you are on the cinema website you can then see up to ... next showing at a higher price than one a bit later as you have a better ... it or leave it" fixed price offer. ...
    (uk.railway)