[Solved] Php Array to Table Rows
Whatever you used in your print_r is what I’m focusing on here for this solution. So if you did print_r($_POST) then this would work: I use htmlspecialchars to clean the string to prevent nasty xss injections. <?php foreach($_POST as $row) { $part = htmlspecialchars($row[0], ENT_QUOTES, ‘UTF-8’); $rel = htmlspecialchars($row[1], ENT_QUOTES, ‘UTF-8’); $chart = htmlspecialchars($row[2], ENT_QUOTES, … Read more