Jump to content

[SOLVED] Storing messages


benyhanna

Recommended Posts

This is a basic question but I haven't been able to find exactly what i'm looking for.

Basically I want to have a form that when submitting is stored SOMEWHERE and then later on the user who "owns" that form can look through all the things submitted.

 

My question is, where should I go about storing these messages?

Thanks

Link to comment
https://forums.phpfreaks.com/topic/172375-solved-storing-messages/
Share on other sites

Well first brush up on your SQL skills as you'd need a database to store the messages, to save the need for insecure files..

 

in the PhP part you can catch what they write with $_POST['message']; etc, and you could add it to database under their user name, and create a user under something like... user.php?u=20 for them to view all their messages, pulled from their database's user name.

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.