Buying through this banner helps support the forum!
Page 191 of 889 FirstFirst ... 91141181186187188189190191192193194195196201241291691 ... LastLast
Results 2,851 to 2,865 of 13327

Thread: What are you thinking now?

  1. #2851
    Metamorphosing Pensive's Avatar
    Join Date
    Aug 2005
    Location
    Neverland
    Posts
    10,601
    I want to be happy, just happy and that's what I can't be today. Life sucks sometimes.
    I sang of leaves, of leaves of gold, and leaves of gold there grew.

  2. #2852
    Hippie toni's Avatar
    Join Date
    Sep 2006
    Location
    Manila
    Posts
    4,365
    Blog Entries
    1
    I wish dear pensy would stop feeling Pensive..
    maybe you could look at the very funny lol thread or the joke thread.











    What I'm thinking right now:
    "I wanna take a bath."
    Dreams! adorations! illuminations! religions!
    the whole boatload of sensitive !

    — Allen Ginsberg, Howl II.

  3. #2853
    Metamorphosing Pensive's Avatar
    Join Date
    Aug 2005
    Location
    Neverland
    Posts
    10,601
    Quote Originally Posted by toni View Post
    I wish dear pensy would stop feeling Pensive..
    Then I wouldn't be Pensive.

    But hey, I have a better thought for now! Pensive people can be optimistic.

    Life is like an ice-cream, enjoy it before it melts. Heard it from somewhere, don't necessarily agree with it, but it is something nice to have a belief in.
    I sang of leaves, of leaves of gold, and leaves of gold there grew.

  4. #2854
    Hippie toni's Avatar
    Join Date
    Sep 2006
    Location
    Manila
    Posts
    4,365
    Blog Entries
    1
    I know exactly what ya mean..
    You sound like you're feeling better now!
    Glad to hear it!
    Dreams! adorations! illuminations! religions!
    the whole boatload of sensitive !

    — Allen Ginsberg, Howl II.

  5. #2855
    Lady of Smilies Nightshade's Avatar
    Join Date
    Apr 2005
    Location
    Now that would be telling it, wouldnt it?
    Posts
    13,715
    Blog Entries
    144
    should get back to trying to get this stupid decsion function to work I mean can anyone see anything wrong with this function?
    Quote Originally Posted by nights stupid programme
    for($i=0;$i<25;$i++){ //this makes the loop go round should calculat $i asn mber of lines!!
    $catstat=explode(';',$catin[$i])//thisseperates them
    if($i==5){//the problem is here whats wrong with it???? HEEEEEEEEEELLLP!!!
    print "$catstat[0]is $catstat[1] years old";//what to do if it works
    }
    elseif($i==3){
    print "$catstat[0]is $catstat[1] years old";
    }
    elseif($i==7){
    print "$catstat[0]is $catstat[1] years old";
    }
    }
    ?>
    I cant it infuriating I need the php angels to come and save me!
    My mission in life is to make YOU smile
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    "The time has come," the Walrus said,"To talk of many things:

    Forum Rules- You know you want to read 'em

    |Litnet Challange status = 5/260
    |currently reading

  6. #2856
    Quote Originally Posted by Nightshade View Post
    can anyone see anything wrong with this function?
    Yeah, it looks like you just spread a bunch of random words/letters around. You should organise them, and situate them properly . . . in order, like a code. That's what I'd do.
    As Kingfishers catch fire, dragonflies draw flame . . .


    Why disqualify the rush? I'm tabled. I'm tabled.



  7. #2857
    Lady of Smilies Nightshade's Avatar
    Join Date
    Apr 2005
    Location
    Now that would be telling it, wouldnt it?
    Posts
    13,715
    Blog Entries
    144
    hey they are in order....arent they oh no have I got it all wrong is that why its not working?
    My mission in life is to make YOU smile
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    "The time has come," the Walrus said,"To talk of many things:

    Forum Rules- You know you want to read 'em

    |Litnet Challange status = 5/260
    |currently reading

  8. #2858
    Memsahib Madhuri's Avatar
    Join Date
    Jun 2006
    Location
    Pride Land
    Posts
    6,601
    Blog Entries
    36
    Quote Originally Posted by Nightshade View Post
    should get back to trying to get this stupid decsion function to work I mean can anyone see anything wrong with this function?

    I cant it infuriating I need the php angels to come and save me!
    $catstat=explode(';',$catin[$i])//thisseperates them

    The above statement doesnt show '$catstat' as an array

    print "$catstat[0]is $catstat[1] years old";//what to do if it works

    In this statement you are trying to use '$catstat' as an array using [0] and [1]

    I think here is the problem, the variable '$catstat' has two different usage - one as a simple variable and in the IF loop as an array.

    If you make the variable type the same this program might work.
    Charms strike the sight, but merit wins the soul.

    Be the change you wish to see

  9. #2859
    Lady of Smilies Nightshade's Avatar
    Join Date
    Apr 2005
    Location
    Now that would be telling it, wouldnt it?
    Posts
    13,715
    Blog Entries
    144
    no thats part of the program youll have to excuse the rammbling comments to myself but
    <?php
    /*find out why the next section of code doesnt work...that is WHY oh why is it printing regardless*/
    //$cats='13';
    //if($cats>=10){
    //print'cat lady!!!';
    //}
    //yay its working!! next task get file!!
    $catin=file('catsparty.txt');
    print"$catin[5]<br>";
    print"$catin[3]<br>";
    print"$catin[7]<br>";
    /* combine a loop with an if/elseif statement so get a for loop going making it explode then get it to if the exploded answer to print out certain results.*/


    for($i=0;$i<25;$i++){ //this makes the loop go round should calculat $i asn mber of lines!!
    $catstat=explode(';',$catin[$i])//thisseperates them
    if($i==5){
    print "$catstat[0]is $catstat[1] years old";//what to do if it works
    }
    elseif($i==3){
    print "$catstat[0]is $catstat[1] years old";
    }
    elseif($i==7){
    print "$catstat[0]is $catstat[1] years old";
    }
    }
    ?>
    its in an array but whenever I try to run it it starts objecting to the line with if($i==5){
    My mission in life is to make YOU smile
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    "The time has come," the Walrus said,"To talk of many things:

    Forum Rules- You know you want to read 'em

    |Litnet Challange status = 5/260
    |currently reading

  10. #2860
    Memsahib Madhuri's Avatar
    Join Date
    Jun 2006
    Location
    Pride Land
    Posts
    6,601
    Blog Entries
    36
    Another thing I would like to add is that every IF has to have an ELSE.

    In the construct, ONE Else is missing.

    if($i==5)

    elseif($i==3)

    elseif($i==7)

    ELSE This will end the loop.

    Ofcourse, I dont know php, but I know C and C++ and this is how the loop works in these languages. I think the concept will be the same here as well.

    EDIT -- as per php syntax you will also have to check the number of curly braces '{}' that are required. Sometimes, small errors like these will not allow the program to work, eventhough the logic is correct.
    Last edited by Madhuri; 11-29-2006 at 02:52 PM.
    Charms strike the sight, but merit wins the soul.

    Be the change you wish to see

  11. #2861
    Lady of Smilies Nightshade's Avatar
    Join Date
    Apr 2005
    Location
    Now that would be telling it, wouldnt it?
    Posts
    13,715
    Blog Entries
    144
    ah right thanks well back too cursing the program...
    My mission in life is to make YOU smile
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    "The time has come," the Walrus said,"To talk of many things:

    Forum Rules- You know you want to read 'em

    |Litnet Challange status = 5/260
    |currently reading

  12. #2862
    Banned
    Join Date
    Dec 2003
    Location
    København for the present
    Posts
    6,516
    Blog Entries
    34
    Quote Originally Posted by ShoutGrace View Post
    Well, if you miss us, spend more time with us. Now, we could either come there, which is kind of tough, or you could come here.
    I can't come there. I need to work; I have overdue debts! And, I doubt that you would wanna come here. I'm surrounded by bloodsucking spiders.
    Last edited by subterranean; 11-30-2006 at 01:51 AM.

  13. #2863
    Metamorphosing Pensive's Avatar
    Join Date
    Aug 2005
    Location
    Neverland
    Posts
    10,601
    Quote Originally Posted by toni View Post
    I know exactly what ya mean..
    You sound like you're feeling better now!
    Glad to hear it!
    Yes, I feel quite pretty today.

    What am I thinking about? Haan I guess I am thinking whether to eat another toffee or not! (already have had four. )
    I sang of leaves, of leaves of gold, and leaves of gold there grew.

  14. #2864
    ANGRY, YOUNG, POOR Eagleheart's Avatar
    Join Date
    May 2006
    Location
    Bulgaria
    Posts
    150
    How shallow my attempts for writing must have been today, in order my writing classes' fellows to allow themselves to praise me, which they usually do when they are not afraid someone's writing is better than their
    Se puede matar el hombre
    Pero no mataran la forma
    En que se alegraba su alma
    Cuando souaba ser libre
    ......
    They can kill a man/but they cannot kill the way /his soul rejoices/when it dreams/that it is free
    ....
    A folklore song from Venecuela

  15. #2865
    Registered User
    Join Date
    Nov 2006
    Posts
    14
    Dunno
    Last edited by Therapy?; 02-17-2007 at 03:31 PM. Reason: :p

Similar Threads

  1. Thinking of the near future
    By Shea in forum General Chat
    Replies: 9
    Last Post: 07-13-2012, 02:37 AM
  2. What were those teachers thinking?
    By Chava in forum Personal Poetry
    Replies: 3
    Last Post: 07-13-2012, 02:23 AM
  3. Thinking
    By atiguhya padma in forum Personal Poetry
    Replies: 3
    Last Post: 10-21-2005, 05:23 AM
  4. Thinking outside convention
    By Ceahorse in forum General Writing
    Replies: 6
    Last Post: 07-01-2005, 10:06 PM
  5. what r u thinking
    By gordon in forum Huckleberry Finn
    Replies: 0
    Last Post: 05-24-2005, 06:07 PM

Posting Permissions

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