8 Comments to “Youtube Images – What an Idea !!!”

  1. Binny V A

    May 3rd, 2008

    This technique is called CSS Sprites. It reduces http requests. Its an optimization technique for very large sites.

  2. Calling Stroed Procedure from php

    May 6th, 2008

    Hi

    I am trying to call the mysql stored procedure from the php code given below

    query($sql1);

    while ($data1 = $query1->fetch_row())
    {
    echo $data1[0].”\n”;
    $sql2 = “call getCapitals(\”".$data1[0].”\”)”;Deutschland

    //SQL which does the same thing:
    //$sql2 = “select concat(country, \”, capital: \”, capital) from countries where country like ‘”.$data1[0].”‘”;

    $query2 = $mysqli->query($sql2);

    while ($data2 = $query2->fetch_row())
    {
    echo $data2[0].”\n”;
    }
    $query2->free(); // unsuccessful attempt to clear the results and get the next SP going
    }
    ?>

    Once i Execute the code i am getting the following result

    Result:

    Deutschland

    Fatal error: Call to a member function fetch_row() on a non-object in C:\wamp\www\SMS\Smart\Test\Test.php on line 27

    I think the problem is that the stored procedure calling is occurring only once.

    Could you please help me to solve this problem?

    Thanks in advance

    Pradeep

  3. Neenbyday

    Oct 7th, 2008

    How i may contact admin this site? I have a question.
    iijiivei

  4. X

    Nov 27th, 2008

    This method is also promoted in the Yahoo Dev’s top ways to speed up your website. It’s weird though they optimized their http requests so much while their source code is in many places so unoptimized. http request must be a big issue when sites get a lot of traffic.

  5. Joanne Cox

    Jun 25th, 2009

    Thanks for sharing this; your input is appreciated and has made me change my opinion slightly. About the 3rd paragraph though, could you expand on that a little? I’m a bit confused about what you mean (so maybe others are too).

  6. Christopher

    Aug 3rd, 2009

    Wow, that is absolutely amazing. Its a fantastic idea…

    I might give it a go!

    Thanks for the article :)


Leave a Reply