i made a html form which submits data entered in form which are name and surname to php called adddata.php. the main idea is that data entered in html form must be added to postgresql database, but when i run my form un submit the data browser points to my php file but data are not added to database. also i recognized that browser does not executes php code for example i made a form with one texbox. simply jus enter your name and php say "hi there+name", but it also does not work. when i simply make a php file with function echo to print some text in brovser and when i open it works. what may be the problem?
i also enabled psotgresql in php.ini.