script used to work now doesnt

Discussion in 'PHP' started by tony84, Nov 2, 2008.

  1. #1
    I have a site and ave been working on the design a lot, it did work fine, however i changed the design (But havnt touched this file) and it has stopped working.

    http://rooms4functions.co.uk/my_rooms.php
    You can log in using jupiter5 for username and password.

    When you click on add room it SHOULD show a table to fill out in order to add a room however this is not happening, could someone help please.

    Cheers
    Tony
     
    tony84, Nov 2, 2008 IP
  2. ignas2526

    ignas2526 Peon

    Messages:
    75
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well your html code is quite messy, i don't want to blame you, but it is how it is.
    For example first lines of html:
    Here how table looks like:
    |--------------------|
    |##############|
    |--------------------|--------------------|
    |##############|##############|
    |--------------------|--------------------|
    |##############|##############|
    |--------------------|--------------------|
    |##############|
    |--------------------|
    Then it must:
    |-----------------------------------------|
    |#############################|
    |--------------------|--------------------|
    |##############|##############|
    |--------------------|--------------------|
    |##############|##############|
    |--------------------|--------------------|
    |#############################|
    |-----------------------------------------|
    I suggest you to visit http://www.w3schools.com/.
    also check following example: http://www.w3schools.com/html/tryit.asp?filename=tryhtml_table_span
    Also add follwing to your page:
    <html>
     <head>
      <title>your page name here</title>
     </head>
     <body>
     (all your page content goes here)
     </body>
    </html>
    Code (markup):
    Ignas.
     
    ignas2526, Nov 2, 2008 IP
  3. Christian Little

    Christian Little Peon

    Messages:
    1,753
    Likes Received:
    80
    Best Answers:
    0
    Trophy Points:
    0
    #3
    All I'm getting when loading that page is a black box in the header, no content.
     
    Christian Little, Nov 2, 2008 IP
  4. tony84

    tony84 Well-Known Member

    Messages:
    1,864
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    140
    #4
    aaah, you sorted it for me, i forgot to upload header.html

    As for the code, i know its really dodgy but its only a basic backend system. I will work on that in the future. It wasnt my code however so im not offended.
     
    tony84, Nov 2, 2008 IP