5 function fcontact_store($url,$name,$photo) {
7 $nurl = str_replace(array('https:','//www.'), array('http:','//'), $url);
9 $r = q("SELECT `id` FROM `fcontact` WHERE `url` = '%s' LIMIT 1",
16 $r = q("INSERT INTO `fcontact` ( `url`, `name`, `photo` ) VALUES ( '%s', '%s', '%s' ) ",
23 $r = q("SELECT `id` FROM `fcontact` WHERE `url` = '%s' LIMIT 1",
33 function ffinder_store($uid,$cid,$fid) {
34 $r = q("INSERT INTO `ffinder` ( `uid`, `cid`, `fid` ) VALUES ( %d, %d, %d ) ",