Re: Re: Storing Variable & Function Info
| From: | Jason Wong | Date: | Thu, 25 Jul 2002 02:29:14 +0000 |
| Subject: | Re: Re: Storing Variable & Function Info | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20767@lists.php.net to get a copy of this message | ||
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 evaluated and stored. Thus if $name was empty/not defined
then it would store "My name is .". If $name was defined as eg. 'Tom', then
text stored would be "My name is Tom.".
> The at runtime I could do:
>
> get_from_db(text)
Would retrieve whatever you stored, ie:
My name is .
or
My name is Tom.
> $name = 'Raquel'
> echo "My name is $name"
> OUTPUT: My name is Raquel
>
> Is that correct?
Therefore it will not work.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
The trouble with heart disease is that the first symptom is often hard to
deal with: death.
-- Michael Phelps
*/