Re: [PHP-DB] Re: Storing Variable & Function Info

2002-07-24 Thread Jason Wong
On Thursday 25 July 2002 05:11, Raquel Rice wrote: > Thank you, Martin, for your informative response. If I understand > correctly what you're saying, it would work to do (in psuedo code > and reduce to simplest form): > > store_to_db(text = "My name is $name.") Here $name will be evaluat

Re: [PHP-DB] Re: Storing Variable & Function Info

2002-07-24 Thread Jason Wong
On Thursday 25 July 2002 04:49, Raquel Rice wrote: > On Wed, 24 Jul 2002 13:23:54 +1200 > > David Robley David Robley <[EMAIL PROTECTED]> wrote: > > In article <[EMAIL PROTECTED]>, > > [EMAIL PROTECTED] says... > > > > > I've run out of ideas. I want to store a variable name and a > > > function

Re: [PHP-DB] Re: Storing Variable & Function Info

2002-07-24 Thread Raquel Rice
On Wed, 24 Jul 2002 16:49:38 -0400 Martin Clifford "Martin Clifford" <[EMAIL PROTECTED]> wrote: > You're trying to use double quotes, in which the variable is > evaluated and the stored value is shown, right? Try using single > quotes. For example, with $name = "Martin". > > echo "My name is $

Re: [PHP-DB] Re: Storing Variable & Function Info

2002-07-24 Thread Martin Clifford
You're trying to use double quotes, in which the variable is evaluated and the stored value is shown, right? Try using single quotes. For example, with $name = "Martin". echo "My name is $name."; OUTPUT: My name is Martin. echo 'My name is $name.'; OUTPUT: My name is $name. It's interprete

Re: [PHP-DB] Re: Storing Variable & Function Info

2002-07-24 Thread Raquel Rice
On Wed, 24 Jul 2002 13:23:54 +1200 David Robley David Robley <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] says... > > I've run out of ideas. I want to store a variable name and a > > function call in a text column of a MySQL database and have them > > interpr