Post to website
Author: christer kårdal
Visited 783,
Followers 1,
Shared 0
Hi! I have an database with my webhotel, but at this moment i have to learn how to use it. In the mean time, i want users to be able to post my website using e-mail form. I have tried to post to file, just by creating an empty .php file..but when i input something in the e-mail form, it shows up as empty. Is there any guide/tutorial on how I can do this? :
I've added an example images - i want the result of the form, to show up on a different page on my site.
I hope someone can give me a good tutorial on this, as I am not so good at coding
Posted on the
Hello Christer,
tHe php cannot be empty since it needs to contain the PHP code to read and then manipulate the received data according to your needs.
The data is not written in the file but send to this php file and you will need to write the custom PHP code in the file accoridng to your needs. There's no standard file since it depends on the use you want to make and this is different case by case.
The easiest way for you is to use the database function and then the database viewer object on the other page so the form send the data to the database and the database viewer shows the content of this database table.
Many thanks!
Author
Ok, hmm.. Where do i find the database viewer ?
Hello Christer,
Here is a link to the Database Viewer:
https://answers.websitex5.com/objects/livepreview/371262fa-27c5-421a-9127-852da219d4
It is an 'optional' component of WebSite X5, which if purchased will show up as an Object which you can then use in the software itself.
Kind regards,
Paul