To escape single quotes, use json_encode() to echo arrays in HTML5 data attributes.printf(' ', htmlspecialchars(json_encode(array ...
確定! 回上一頁