Jump to content

Archived

This topic is now archived and is closed to further replies.

yasminlove1

PHP login and registration formulier with a html index

Recommended Posts

$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..... ;)

Share this post


Link to post
Share on other sites

i had this learned from a program that you must do that.. can you please help me what website is good for this?

then i can back with php learning because this is a part of my php work..

 

 

Staisa, i don`t understand what you mean..?

Share this post


Link to post
Share on other sites

Forget this..... ;)
Try first to make a simple contact-form......

 

I've learned PHP from this site (and books bacause my study)....  http://www.tizag.com/phpT/

 

And Staiza is a spammer, i've reported them.

Share this post


Link to post
Share on other sites

ow okay, and do you know why my link to another page doesn`t work?

I wan`t on the other page a contact-formulier make but i can`t make it when it doesn`t work.. :(

Share this post


Link to post
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..

Share this post


Link to post
Share on other sites

Which hyperlink or action gets a 404-error?

 

The link is incorrect, or you don't have uploaded the file.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

yes.. i know.. haha i changed it a few days ago and it was just something to look if there was something changed.. haha.. i forgot it .. :P

 

what do you mean?

 

yes i want to do that, but i want to have it in a other page.. sorry..

Share this post


Link to post
Share on other sites

no, i can`t make the contact-script because i can`t see it, the link doesn`t work...

that`s my problem..

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

that is what i did.. but it doesn`t work because i have a error 404, but i try it again..

 

that is good.

 

edit, it`s still have a error..

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Where is your contactpage? Which file?

Page3.html > Doesn't exists

page3.html > Does exists, but isn't a contactpage
 

Please use clear filenames, this names are useless...

Share this post


Link to post
Share on other sites

ow.. but i saved it as Page3.html and not as page3.html... that`s weird..

no, it is still not working.. still error  404, that mean`s that there is something not good but i don`t know what..

Share this post


Link to post
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.......

Share this post


Link to post
Share on other sites

o yes, i can do that, but i can`t see it by my selfe because i have a error 404.. where can you see the page?

Share this post


Link to post
Share on other sites

×

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.