hello there im doing this homework assignment and we are making 'facebook' like system now...
to sum up, when i press a certain link next to that link has to be printed - liked or sth... the problem is i dont know how to detect when i press the link any ideas?
like_link = '<a href="chat.py?like_msg_nr='+str(nr)+'">(Like!)</a>'
print(str(nr)+". "+date+' '+link+'<b> '+msg+' </b>'+like_link+' <br> <hr style="border: 1px solid #898989;" >' )
for the web printing i use 2nd line but help me detect when 'like_link' is pressed.