By the way, what @TT_Mark did there is called concatenation. You can concatenate a string, such as "Hello World" to a variable or another string using a period/full stop, and you can do it as many times as you want.
I've wrapped both $likes in a span tag. The span tag is present before I like the item, but when I "like" the item the span tag disappears, this is the one with the "done" class.
Sorry if I make no sense at all, I'm still trying to wrap my head around PHP.
Thanks in advance.
No question is too basic when you're just starting out
I'm trying to modify a plugin called Like This.
My PHP looks like this at the moment.
I've wrapped both $likes in a span tag. The span tag is present before I like the item, but when I "like" the item the span tag disappears, this is the one with the "done" class.
Hope that makes sense, thanks.
At the end of function reloadLikes(who)
That might be the problem.