www.webdeveloper.com
Results 1 to 4 of 4

Thread: General

Hybrid View

  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
    19,175
    PHP Code:
    if(== 1) {
        echo 
    "<p>Hello, World.</p>\n";

    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

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


  4. #4
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,175
    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.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

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