Some posts however may have been deleted, although they are actually still there, just with a message that says they were deleted.
Each post has an edit and delete option.
However, I don't want this available for a post that has been deleted.
I tried this:
Code: Select all
while ($myrow = mysql_fetch_array( $threadresult ))
{
if ( $myrowї'deleted'] = 1 )
{
//print posts that have been deleted, without the edit/delete option.
}
elseif ( $myrowї'deleted'] = 0)
{
//print posts that haven't been deleted, with the edit/delete option.
}
}Is there any other way to do this?