1

@imti32: sorry, I meant method (as noted in the text of the post). Correct code is:

<form method="post" id="nl-form" class="nl-form" action="../EMAIL.php">

Thanx for spotting, mate :-).

Edited by broj1

Votes + Comments
Thanks :)
1

@Traveal Sorry but i cant understand what you want to convey , Can you eloberate.

Just picked up where I left off yesterday, wasn't a response to something you said.

Votes + Comments
Thanks :)
0

Out of curiousity, when i set up the form method, is it case sensitive? Like, am i allowed to do <form method="POST> instead of <form method="post"? I had mine done in all caps, so idk if i should do that or not.

That is an interesting form layout, nice!

Thanks :P

Thanks you guys, Broj1, imti321, JorgeM, and Traevel (i gave you all rep points)! I am gonna try all these solutions out... i actually did not expect this much activity to help me on this thread to happen over night :P So thanks a lot! I will get back to you guys within an hour so (I have a basketball practice today for my school, during winter break...).

2

Just to add so you keep this in mind... You seem to have a lot of repetitive code on the page. You should consider using classes, creating objects, using subroutines, etc so you can reuse your code easily within your web application.

Votes + Comments
True...
0

Just to add so you keep this in mind... You seem to have a lot of repetitive code on the page. You should consider using classes, creating objects, using subroutines, etc so you can reuse your code easily within your web application.

Yeah, i began noticing that. When I finish getting through my current problems, i will begin cleaning up all my code :)

0

@Traevel,

Here's the code, just uncomment the scripts and mail functions again.

Are you saying that I need the lines that are commmented out or that they are optional?

Also, within your code, how do you connect the php file to the html form? I don't see how you did it because the form method you put doesn't show the php file (unless i am just totally off and need to re-read a php book...).

Edited by <M/>

0

@traevel, I tried running your code and the problem i have with it atm is that when i run it, i get the same results except for the fact that the table and email submission confirmations show up on the webpage after the form gets submitted. did i do something wrong?

0

AHHHHHHH, i feel so dumb. I forgot to change the form method to the way broj1 said it should be :P. The form works now! Now, all i gotta work on, at this point is security, captcha, and ways to avoid spam and have proper inputs submitted :P (expect later questions from me about this ;)).

Thanks guys!

Question = Solved.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.