Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004
    Manchester, england

    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.

  2. #2
    Join Date
    Jul 2002
    I think you need to read up on how php/forms/etc. work.

    You obviously don't have a clue how to do what you want.

  3. #3
    Join Date
    Feb 2004
    Hi ,

    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.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts