Chen:
Ok, bare with me a little more.
I put in:
Code:
$post=$DB_site->query_first("SELECT pagetext FROM post WHERE threadid=$thread[threadid] ORDER BY postid");
$page=iif(strlen($url)>30,substr($post[pagetext],0,30)."..."),$post[pagetext]);
$page=bbcodeparse2($page,1,1,1,1);
and got a parse error:
Then I put in just:
Code:
$post=$DB_site->query_first("SELECT pagetext FROM post WHERE threadid=$thread[threadid] ORDER BY postid");
$page=iif(strlen($url)>30,substr($post[pagetext],0,30)."..."),$post[pagetext]);
and also got a parse error.
So is $url supposed to be that or something else like $thread[threadid]. I mean where do the $url come from?
Also, is the bbcodeparse2 suppsed to have the numbers or
the $html, $vbcode, etc.?
Thanks again,
Parker