FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » variable replacement in string
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: variable replacement in string [message #178035 is a reply to message #178032] Fri, 11 May 2012 00:08 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
Scott Johnson wrote:
> On 5/10/2012 2:06 PM, Jerry Stuckle wrote:
>> On 5/10/2012 4:50 PM, The Natural Philosopher wrote:
>>> M. Strobel wrote:
>>>> Am 10.05.2012 15:11, schrieb The Natural Philosopher:
>>>>
>>>> > if you want to program in tcl., i suggest you use tcl.
>>>> >
>>>> > your example
>>>> > $t = ' - solved - ';
>>>> > $msg = 'The problem is $t';
>>>> >
>>>> > should be
>>>> > $t = ' - solved - ';
>>>> > $msg = 'The problem is'.$t;
>>>> > echo($msg);
>>>>
>>>> You cannot miss something you do not know it exists.
>>>>
>>>
>>> Of course you can. Don't be silly.
>>>
>>> I've missed loads of things that I didnt know about.
>>>
>>> Like the flight to Chicago. I've missed every single flight to chicago,
>>> ever. Most before I even knew there was one. :-)
>>>
>>>
>>>
>>>> /Str.
>>>>
>>>
>>>
>>
>> Which makes the people of Chicago VERY HAPPY!
>>
>
> Time to get the microwave popcorn ready!

Hardly,. His lord High Stuckupness has been in my killfile a LONG time,
as he never says anything worth reading - as evinced by this
particularly puerile offering.


--
To people who know nothing, anything is possible.
To people who know too much, it is a sad fact
that they know how little is really possible -
and how hard it is to achieve it.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Windows binaries 64bit for PHP
Next Topic: Re: Windows binaries 64bit for PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 11:32:12 GMT 2024

Total time taken to generate the page: 0.04377 seconds