Instantly share code, notes, and snippets.
JS:
JSON.stringify(myArr)
PHP
json_decode(str_replace('\', '', $_POST['var']));
Set span with width
display: inline-block; width: ...px;