RE: [phplib] Missing dollar signs after upgrade from php3 to php4 From: Ignatius Teo (iteo <email protected>)
Date: 05/10/01

Use quotemeta...

Ignatius

-----Original Message-----
From: Rob Hardowa [mailto:rob <email protected>]
Sent: Friday, 11 May 2001 07:47
To: phplib <email protected>
Subject: [phplib] Missing dollar signs after upgrade from php3 to php4

Hi all,

Can anyone help on this? It's been bugging me since January when our host
upgraded from php3 to 4.

We are grabbing info from a database and then using templates to put the
info
into a pre-existing html file. The problem is dollar signs.

If I grab a field out of the database that contains something like $6.00 and
parse the template, the resulting output is .00

If I echo back the result of the variable before the template is parsed I
get
the correct output of $6.00

Can anyone help with this? I am wondering why it happened after the
upgrade.
 It appears to be either a php or phplib problem.....

Rob

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>