PDA

View Full Version : what's wrong ??


squawell
11-25-2001, 07:07 AM
i make this code but it did not work

someone tell me what's wrong??

//count attament file by member upload
$attach=$DB_site->query_first("SELECT count(*) AS attachment FROM thread WHERE postuserid='$bbuserinfo[userid]'");
$memberattach =number_format($attach['attachmenet']);

Lesane
11-25-2001, 07:39 AM
is this: attachmenet not this: attachment ;)

squawell
11-25-2001, 07:54 AM
thankz Lesane~~

it's work now~~~:D