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
*/


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to