Hi everyone!
Could anyone help me please?
As u can see by my username, I'm a newbie in PHP.
Now to the question:
I have made a site that extracts data (in my case movies) that logs in a user and shows all data that the user has entered as a table. I've written some titles in MySQL manually to see if it works and it did. The problem starts when I try to add a new title. It doesn't add the title I submitted and the page doesn't show neither the table nor the submit buttons. It doesn't show any errors either.
What's wrong with my code?

You need to move the head tag to between the html and the body tag, i.e.:

<html>
<body style="background-color:powderblue;">
     <head><title> 90´s nostalgia </title> </head>
        <h1 style="text-align:center">"90's club "</h1> </br></br>

SHOULD BE:

<html>
     <head><title> 90´s nostalgia </title> </head>
<body style="background-color:powderblue;">
        <h1 style="text-align:center">"90's club "</h1> </br></br>

You need to move the head tag to between the html and the body tag, i.e.:

<html>
<body style="background-color:powderblue;">
<head><title> 90´s nostalgia </title> </head>
<h1 style="text-align:center">"90's club "</h1> </br></br>

SHOULD BE:

<html>
<head><title> 90´s nostalgia </title> </head>
<body style="background-color:powderblue;">
<h1 style="text-align:center">"90's club "</h1> </br></br>

Thanks for your reply!
I'm sorry but I forgot to mention that the only thing appearing on screen is 90´s nostalgia and 90's club. The rest is blank.

in your submitted code the HEADER AND TITLE is inside the BODY.
please arrange it properly.

<html>
<body style="background-color:powderblue;">
     <head><title> 90´s nostalgia </title> </head>
        <h1 style="text-align:center">"90's club "</h1> </br></br>

body should be after head and title....hope it helps...

correct the above mentioned error, and check your query and mysql function, some times due to that any error comes.

I solved the inserting problem by moving it to a separate file.
Thanks to all of you who tried to correct my problems!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.