User Profile

Collapse

Profile Sidebar

Collapse
bibiki
bibiki
Last Activity: Jul 11 '12, 02:47 PM
Joined: Sep 12 '09
Location: Kosovo, Prishtina
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • bibiki
    replied to Convert Integer to Binary
    in C
    int numToConvert;
    String rez = "";

    while(numToConv ert > 0)
    {
    rez = (numToConvert%2 ) + rez;
    numToConvert = (int)(numToConv ert/2);
    }
    //turn rez into an int, and there you go
    See more | Go to post

    Leave a comment:


  • bibiki
    replied to How do i transfer $_GET['id'] ?
    in PHP
    thanks man. however, i am not sure if we are both pounding on the same problem here. what i am trying to contribute to is luke_noob's problem about passing variables without a form. I strugled with that question, too, and I was answered yesterday by a moderator nicknamed Atli. So, I think I got it good this time.
    I would not like to take up your time trying to teach you (a moderator) what you already know. However, I would like to add the...
    See more | Go to post

    Leave a comment:


  • bibiki
    replied to How do i transfer $_GET['id'] ?
    in PHP
    yeah... I c that I forgot the dollar sign. so my actual suggestion is that you put in '$photoId'
    See more | Go to post

    Leave a comment:


  • bibiki
    replied to some explanation please
    in PHP
    thanks Atli. I think that makes sense to me. I needed a confirmation of what I was already suspecting to be the case and you did offer the confirmation for me. I guess for now I should just look at the question mark in the href attribute as a short version of setting up a form, defining an action script, and determening the method (the $get versus $post)... which I guess is always a $_get...
    That does i for me just fine. thank you again....
    See more | Go to post

    Leave a comment:


  • bibiki
    started a topic some explanation please
    in PHP

    some explanation please

    Code:
    while($row = mysql_fetch_object($result))
       {
       ?>
          <li><font size="-1"><b>
    <a href="story.php?id=<? echo $row->id; ?>"><? echo $row->slug; ?></a>
    
    </b></font>
          <br>
          <font size="-2"><? echo formatDate($row->timestamp); ?></font>
    Refering to...
    See more | Go to post
    Last edited by Atli; Sep 12 '09, 11:41 PM. Reason: Added [code] tags.

  • bibiki
    replied to How do i transfer $_GET['id'] ?
    in PHP
    your [id]

    i am a newbie myself, and am struggling with the exact same problem... so i thought i might offer some insight: ae you sure that your SQL statement of WHERE has the proper value. What I see you have is:
    WHERE photoId = '" . $photoId . "
    Try maybe:
    "...... WHERE photold= 'photoId' ...." Note that I am specifically suggesting you take out the periods and double quotes.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...