Hello all,
I have a PHP page that submits an HTML form back to itself, that is register.php is the processing page.
Depending on the state of button variables, it will insert the registration information in the db (MYSQL) or it will display the HTML form. The way the form gets displayed is to use an include statement: ie: include('regfrm.php'). REGFRM.PHP is basically HTML with some PHP embedded, redisplays form variables if the informationn is incorrect. It also, and this is the important part, displays an HTML SELECT tag with options from a db (MYSQL). No matter how many times this page is submitted it functions perfectly.
I am now working on the user area, I have a page that, again submits to itself, will allow the user to enter information. This page is laid out just like the aforementioned register.php. However, instead of the form variable data being displayed, i see the php echo syntax, and the call to another db (POSTGRESQL) goes unanswered. If I remove the include('datafunctions.php') line I am told that it is a call to an undefined function, but with the include line it is like the function is not even being called.
I know that POSTGRESQL is running, because win I register as a new user, my user database and tables etc. are being created.
I am using a pure redirect with the header function, so I do not feel that it is a nesting problem.
But I am lost.
TIA
John