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

Home » Imported messages » comp.lang.php » using same variable twice on same page
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: using same variable twice on same page [message #171376 is a reply to message #171340] Fri, 31 December 2010 01:59 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
Peter H. Coffin wrote:
> On Thu, 30 Dec 2010 02:07:59 +0100, August Karlstrom wrote:
>> On 2010-12-29 11:42, Derek Turner wrote:
>>> On Tue, 28 Dec 2010 22:07:55 -0700, richard wrote:
>>>
>>>> <?php if ($year="1961")
>>>
>>> This simply sets $year to "1961" and will always return 'true'
>> ...which is more or less a flaw in the language design copied from C.
>
> ... and a correction of a flaw in any language design copied from
> Fortran. We can do this all day.
>
Oh yes. Fortran. I'd forgotten Fortran...those godawful number to string
printing statements..
[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
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
Read Message
Read Message
Read Message
Read Message
Previous Topic: AND in the if statement
Next Topic: login script using file, not mysql
Goto Forum:
  

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

Current Time: Sat Nov 23 03:05:23 GMT 2024

Total time taken to generate the page: 0.05172 seconds