dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: General

  1. #1

    General

    Hai everyone. I am new to php. Can anyone explain about infinite loop

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    21,311
    PHP Code:
    if(== 1) {
        echo 
    "<p>Hello, World.</p>\n";

    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

  3. #3
    Join Date
    Aug 2006
    Posts
    2,034
    I think you meant:
    PHP Code:
    while(== 1) {
        echo 
    "<p>Hello, World.</p>\n";


  4. #4
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    21,311
    Quote Originally Posted by tracknut View Post
    I think you meant:
    PHP Code:
    while(== 1) {
        echo 
    "<p>Hello, World.</p>\n";

    Oops. You're right -- I didn't feel like testing an infinite loop to see if it's really infinite.
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles