himmm tell by this is for picture:
Noww i send a pm :
it was sended :

I have got i new pm himm it' good:
but i dont want read this pm or pms [it's new] :

it was goingto delete :
ohh i delete my unread pm. ups.. but also show on pm_check_inc.asp at "new pm" press F5 key himm it's not change
i was look why ??
pm_delete_message.asp is don't decerease Author.No_of_PM.
For this
Dim SayPMs
strSQL = "SELECT " & strDbTable & "Author.No_of_PM, " & strDbTable & "PMMessage.Author_ID FROM " & strDbTable & "Author, " & strDbTable & "PMMessage where " & strDbTable & "Author.Author_ID = " & strDbTable & "PMMessage.Author_ID AND " & strDbTable & "PMMessage.Read_Post = false AND " & strDbTable & "Author.Author_ID = " & lngLoggedInUserID
rsCommon.open strSQL, adoCon , 1, 3
SayPMs = rsCommon.Recordcount rsCommon.close
strSQL = "SELECT " & strDbTable & "Author.Author_ID, " & strDbTable & "Author.No_of_PM FROM " & strDbTable & "Author Where " & strDbTable & "Author.Author_ID = " & lngLoggedInUserID
rsCommon.open strSQL, adoCon , 1, 3
rsCommon("No_of_PM") = SayPMs
rsCommon.update rsCommon.close
|
i change picture links because my geocities acounts band limit was full.
Edited by beyaz_seytan - 12 February 2006 at 5:15pm