Variables - showing onpage
From: Biph (biph69_at_biph.com)
Date: 11/30/03
- Next message: Jason Wong: "Re: [PHP] Stumped"
- Previous message: Narayanan: "How to see the table structure"
- Next in thread: Jason Wong: "Re: [PHP] Variables - showing onpage"
- Reply: Jason Wong: "Re: [PHP] Variables - showing onpage"
- Reply: Jeroen Serpieters: "RE: [PHP] Variables - showing onpage"
- Reply: John Nichel: "Re: [PHP] Variables - showing onpage"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Jason Wong: "Re: [PHP] Stumped"
- Previous message: Narayanan: "How to see the table structure"
- Next in thread: Jason Wong: "Re: [PHP] Variables - showing onpage"
- Reply: Jason Wong: "Re: [PHP] Variables - showing onpage"
- Reply: Jeroen Serpieters: "RE: [PHP] Variables - showing onpage"
- Reply: John Nichel: "Re: [PHP] Variables - showing onpage"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|