Jump to content

PHP login and registration formulier with a html index


yasminlove1

Recommended Posts

  • Replies 211
  • Created
  • Last Reply

Top Posters In This Topic

$connectie = mysql_connect($serverxx.xxxwebhost.com,xxxxxxxx,xxxxxxxxx) or die($error);

This is not correct....

Did you know how strings works, and how you can use variables outside quotes?

 

I think it's a beter idea to wait with MySQL-functions...

 

For a normal contact-form you don't have to use a mysql-database.

 

Using a MySQL database is a way too far for a beginner..... ;)

Edited by MissMarisjuh
Link to comment
Share on other sites

 

And this is the link.

<ul>
   <li><a href="Page2.html">Nieuw hier?</a></li>
   <li><a href="#">Contact</a></li>
</ul>

I tryed very much times to look if it was better with another link, but that don`t helped..

Nieuw hier? must go to Page2.html, and Contact is going to the index right now, so you don`t see any different with page when you click on Contact because it is made on that page, and there is no problem with..

It must lay on the connect script..

 

 

Here must be the problem..

Edited by yasminlove1
Link to comment
Share on other sites

<!DOCTYPE php

What's this for doctype. I don't ever see them... haha

But is not the reason for your 404-error, but it's yet incorrect. You better to use the correct HTML5 doctype.

 

I see when i filled in your login-form a 404. loginv.php this is your action, and it's not uploaded, or the filename is incorrect.

 

But please work first at your contact-form, you don't have a working link for them.

Edited by MissMarisjuh
Link to comment
Share on other sites

First, made a form, correct your link to the right page (contact.php, i suggest) and upload them.....

That's step 1.

 

For a form, i can't advise a HTML-table. It's better to use fieldset, lable and a lot of CSS.

Edited by MissMarisjuh
Link to comment
Share on other sites

The 404 error means:

- The filename is not correct (case sensitive)

- You don't have uploaded the file....

 

WhIch file is the contact-script, where can we find it?

Under what name have you uploaded them?

 

Your hyperlink for Contact links to: Page3.html

Edited by MissMarisjuh
Link to comment
Share on other sites

I got a 404-error?

I see the page page3.html will be exists, but it isn't the contactpage.

 

Be care about characters are case-sensitive...
On Windows is this no problem, but most webhosters are using Linux, and they're case-sensitive.

 

I can recommend to use clear filenames. Page3.html say's nothing about the content.

Edited by MissMarisjuh
Link to comment
Share on other sites

Please use clear filenames....

 

Did you know in a few years where you had your contactpage? "Was it Page3.html, page 6.htm of page2.html"... ;)

Call it as an example contact.html...

 

And where is your contactpage? Without contactpage we cannot go.......

Edited by MissMarisjuh
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.