0) : reset($_POST); for ($i=0; $i<$posti1; $i++) : $posts1 = key($_POST); $$posts1 = $_POST[$posts1] = str_replace("'", "''", current($_POST)); next($_POST); endfor; endif; ?>