$collect_url=trim($_POST['collect_url']);
$collect_title=trim($_POST['collect_title']);
$collect_content=empty($_POST['content']) ? '' : filters_content($_POST['content']);
$sortname=$_POST['sortname'];
$ctype=$_POST['ctype'];
$public=$_POST['public'];
$dblink->query("INSERT INTO cyask_collect SET uid=$cyask_uid,username='$cyask_user',sortname='$sortname',ctype='$ctype',title='$collect_title',content='$collect_content',url='$collect_url',public='$public',collecttime='$timestamp'");