刪除
These are my codes.
COMMENT_ID is the self-generated ID of the message.
com[' ID ' is the ID that the user left after leaving a message
session[' ID ' is the ID of the user (login will be included)
row[' ID ' is the user-generated ID of the article that made the statement
User can leave a message in "own article"
Other user can also leave a message in "own article"
It's jammed.
If you write like this,
"> delete_forever
If this is going to become a user (or someone else) to read your own article, the user's own message will show "Delete"
"> delete_forever
If this is going to become your own article, all messages will show "Delete"
But when someone looks at your article, it doesn't show.
The purpose I want to make is that if the article were to happen
So the bottom of the message, whether it is yourself or someone else can be displayed "delete"
But when someone looks at your article, his own message will show "Erase" * *
Logically is dead ... Ladies and gentlemen, handsome, help!
Reply content:
刪除
These are my codes.
COMMENT_ID is the self-generated ID of the message.
com[' ID ' is the ID that the user left after leaving a message
session[' ID ' is the ID of the user (login will be included)
row[' ID ' is the user-generated ID of the article that made the statement
User can leave a message in "own article"
Other user can also leave a message in "own article"
It's jammed.
If you write like this,
"> delete_forever
If this is going to become a user (or someone else) to read your own article, the user's own message will show "Delete"
"> delete_forever
If this is going to become your own article, all messages will show "Delete"
But when someone looks at your article, it doesn't show.
The purpose I want to make is that if the article were to happen
So the bottom of the message, whether it is yourself or someone else can be displayed "delete"
But when someone looks at your article, his own message will show "Erase" * *
Logically is dead ... Ladies and gentlemen, handsome, help!
Is it okay if you add a ||
relationship or something?
"> delete_forever