It's not worked the insert also the view.php has an error occurred T_WHILE on line 9 that's fetch array.