Hi having problems connecting my html to my database
Hi i'm pretty new to php. I've manage to install appache, mysql and php4. The problem i'm having is that i'm in the middle of creating a guestbook. I have a page with a form and another page which puts the data into the database. The database works fine when i do it through mysql. I can enter data search. but when i use the one through the web browser through local host it connects but it leaves blank entrys into mydatabase. every time i press submit. I was just wondering if anyone had any simaler problems connecting with forms. Any help would be appreciated many thanks Trev.
I think you are getting problem regarding database handlers declared in your PHP page( connection strings, statement and execution statements ). Please cross check whether they are executing (mysql_query)or not by using print statement at all levels. If you didn't get any output on your console then you can get your bug point, so analyse there and get right stuff there.