select distinct(user_id) from facebook_post_comments where page_id =some_page_id and user_id in (select distinct(user_id) from facebook_post_comments where page_id = some_other_page_id)
Python MySQL O(n^2)
by https://www.google.com/accounts/o8/id?id=AItOawlXyCfS3cPSoWLo635rrzVPpmDr0-DUdus,
October 20, 2011 12:54,
2 refactorings, tagged with sql, mysql, short clean ruby
Hello! Trying to run this q...
// Copyright (C) 2010 Simon Holywell ...
C Code review for a MySQL UDF...
I have written a small MySQ...
//Removed the 'Javascript' as well as 'css' styles here bcs tht wont be needed... //datas getting inserted fine on command line and on php-editor preview, but not on the localhost server. //"Apache/2.0.54 (Win32) Server at localhost Port 80" this is the bottom line msg displayed on my browser. ...
PHP Please help me
by phptomysqlhelpmeplease.blogspot.com,
February 27, 2011 10:02,
3 refactorings, tagged with help, php, mysql, apache, please, me, browser, 8080, 80 port
I created an html form to g...
#insert new record if it dosent already exist
if !dbh.select_one('SELECT Salenm FROM Auctions Where Salenm LIKE "%' + c.attributes["href"][/....$/] + '%"')
dbh.do("INSERT INTO Auctions (Salenm, Date, Location) VALUES (?, ?, 1)",
...
Ruby Insert new record if it dos...
by bain19.myopenid.com,
June 24, 2010 04:33,
1 refactoring, tagged with mysql, if, select, bain19, sql injection
Is there a safer way to-do ...
<?php
function clean($string){
...
PHP Register/Login Script
by penaf.myopenid.com,
March 12, 2010 23:45,
114 refactorings, tagged with php, mysql, register, login
Hello People,
This websi...
<?php public static function addUser($username, $email, $password) ...
PHP User Registration Function
by gwrtheyrn,
July 24, 2009 20:05,
4 refactorings, tagged with php, user, mysql, registration, real_escape_string
Is this user registration f...
<?php
if (!defined('ANTIHACK'))
...
PHP php mysql wrapper begginer
by fantomel,
April 03, 2009 14:33,
5 refactorings, tagged with php, mysql, mysql wrapper, wrappers, wrap, simple
Hello ppl i'm new to php\\O...
I need suggestions on how t...