1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Likes Received By SmallPotatoes

  1. edual200 liked SmallPotatoes's post in the thread php if statement help.

    if (($i > 5) && ($j == 'hello') && (strstr($x, $y) !== false)) echo "<p>The sun and moon and stars have converged.</p>";

    Apr 4, 2009
  2. SGBoise liked SmallPotatoes's post in the thread Passing params to system().

    You can put the password on the command line with mysql: mysql --password=scalawag -u marvin -e 'select * from pantaloons' hosierydb

    Apr 3, 2009
  3. Foggy liked SmallPotatoes's post in the thread I Am Sick of Small Potatoes - Any Ideas?.

    I'm offended! In my experience, SmallPotatoes is highly profitable.

    Apr 1, 2009
  4. PoPSiCLe liked SmallPotatoes's post in the thread Best way to do mysql-query with dynamic values.

    I'm not sure I totally understand your question. But if I do, then you could do something like this: $fields = array('name', 'email',...

    Mar 27, 2009
  5. Barti1987 liked SmallPotatoes's post in the thread How can i parse (take) the imdb score of a movie..

    function get_imdb_score($url) { if (!($file = file_get_contents($url))) trigger_error('Unable to retrieve page from IMDB',...

    Mar 26, 2009
  6. Silver89 liked SmallPotatoes's post in the thread php Averages.

    SELECT value, COUNT(value) FROM table GROUP BY value ORDER BY COUNT(value) DESC LIMIT 1;

    Mar 13, 2009
  7. zuly liked SmallPotatoes's post in the thread server to server copy script stops in the middle of transfer.

    Upload limit isn't relevant in this case. It's most likely execution time - check whether it's taking too long to read the file from the...

    Mar 11, 2009
  8. ridesign liked SmallPotatoes's post in the thread Is it possible to use str_Replace for a dynamic string?.

    $str = preg_replace('/<!--start.*?-->/i', '<p>replacement for START</p>', $str); Learn preg. It's the heart of the solution to a...

    Mar 8, 2009
  9. ads2help liked SmallPotatoes's post in the thread Bandwidth question.

    It doesn't use any bandwidth at all unless your database is located on a different server from your web site. If they are on the same...

    Mar 5, 2009
  10. Masterful liked SmallPotatoes's post in the thread Complicated SELECT and Echo Command.

    I am too lazy to type up detailed code, but here's the basic jist of what you need to do: Your query should produce a column...

    Feb 26, 2009
  11. Dan Schulz liked SmallPotatoes's post in the thread Use each question of a FAQ as a page?.

    The other drawback is that it's very, very irritating when each FAQ is on a separate page.

    Jun 9, 2008
  12. cicero liked SmallPotatoes's post in the thread Wrong Ads language - I'm getting spanish.

    That's not Spanish, it's Portuguese. It shouldn't be a huge surprise to you since the biggest concentration of Orkut users is in Brazil....

    May 26, 2008
  13. webmagnets liked SmallPotatoes's post in the thread Free Internet Cafe in South America - ideas?.

    Yes, it would be possible, most easily using a transparent proxy server between the client PCs and the net. However, I really...

    Mar 26, 2008
  14. wisdomtool liked SmallPotatoes's post in the thread Investing in Euro's?.

    There are various yuan-linked instruments, though. Right, but I don't think that can last. The drop in the dollar is causing inflation...

    Mar 12, 2008
  15. bogart liked SmallPotatoes's post in the thread Investing in Euro's?.

    You are getting screwed. What are you doing, changing $10s and $20s in the Charles De Gaulle arrivals hall? When I wire-transfer...

    Mar 11, 2008
  16. nadalaka liked SmallPotatoes's post in the thread ΒΆ.net - How much is it worth?.

    I had never paid attention to IDN, I guess for some reason I was only thinking about Chinese characters and not about other Unicode...

    Feb 28, 2008
  17. NewTier liked SmallPotatoes's post in the thread Need help! Rep will be given!.

    You have failed to define something somewhere, so it is using a placeholder path: "/full/path/to/site/templates/admin/loginForm.html"....

    Jan 19, 2008
  18. ScottHughes liked SmallPotatoes's post in the thread Simple Way To Rotate Ads.

    switch(rand(0, 1)) { case 0: echo "<code for ad A>"; break; case 1: echo "<code for ad B>"; break;...

    Jan 17, 2008
  19. crazyryan liked SmallPotatoes's post in the thread PHP & MySQL JOIN's.

    Assuming the files table also has an 'id' column which refers uniquely to each file... $sql = "select categories.name,...

    Jan 13, 2008