Form Data Posting

I’m currently trying to do a daily news update with a (news.html) file. I’ve inputted the basic
post method on the page. It is then posted to a (news.php) file which allows my readers to view it.
However, it doesn’t seems to be able to be posted on the .php file.

Could any kind souls guide me on what is the correct or norm procedure to do such postings ? It’s actually like
a news feed where i could update or delete the text content on my own news.html file.

All help is greatly appreciated. Thank YOU :-*

Hi there, I’d be happy to assist you if you posted some source code for us to look at.

I did a simple one. On the .html the code was :

Date:
Title:
Description:

On the .php was :

<?php echo $_POST[date]; ?>
<?php echo $_POST[title]; ?>
<?php echo $_POST[description]; ?>

Before going further into the details , were you planning on saving the posts into a database ?

Actually, i do not really need to save the posts. It is more of a daily updates which most importantly allows me to submit and also delete posts.

Do i have to save it into database before i could perform such daily updates ?
Are there any templates coding which enables such function?

You could serialize the posts into a file, but you would have to save the posts somewhere in order to retrieve them.

Sponsor our Newsletter | Privacy Policy | Terms of Service