Jump to content

Coding my Guestbook...needing basics


b2k

Recommended Posts

Hi,

 

I'm kinda new in PHP, so I decided to code my own guestbook. This is what I think that I need.

 

-guestbook.php (Here is would be the form, where people write the comments)

-add.php (For proccess the comment)

-view.php (For view the comments)

 

I'ts kinda simple, but I'm new and i want to learn  :)

 

Is this fine?

Link to comment
https://forums.phpfreaks.com/topic/109988-coding-my-guestbookneeding-basics/
Share on other sites

Im triying to have add.php in the same page of guestbook.php

 

My question is, in the form like:

 

<html>
<form method="post" action="add.php">
Name / Nick: 
<input type="text" name="name">
<br>
E-Mail: 
<input type="text" name="email">
<br>
<input type="submit" value="Send">
<input type="reset" value="Reset">
</form>
</html>

 

Now what I put in the action?

Archived

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

×
×
  • 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.