Using LocalStorage to store "Like" amount? [JS,PHP]
<p>I have a working Like counter which I would like to try and use LocalStorage to save which user liked which images. I had the idea to use an array and make the array ID the image ID that was liked and then make it == 1. Then simply return a result for if it equals 1 then they have already liked it.</p>

<p>Trouble is, LocalStorage doesn't work with Array's so how can I get round this?</p>

<p>Thanks,
Kris</p>
