The problem is this line..
PHP Code:
if(isset (['insert_form']) ) {
its not valid php.
It looks like you are trying to make sure none of the fields are empty.. so instead replace that line with..
PHP Code:
if($insertFormName || $inserFormLocation || $inserFormPhone || $inserFormCatagory || $inserFormBusiness_name) {
that will fix there error.. although you might want to do some more advanced validation.. such as making sure that what the user enters is longer or equal to a certain length for example.
|