Miscellany
public text v1 · immutablefunction wuquery() {
global $wudblink;
if ( !is_resource($wudblink) )
wuconnect();
$args = func_get_args();
if ( count($args) == 0 ) {
return null;
}
if ( count($args) > 1 ) {
$q = $args[0];
$params = array_splice($args,1);
$prepped = wuprepare_query($q,$params);
return wuquery($prepped);
}
return mysql_query($args[0], $wudblink);
}