This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
Retrieve data from a form and post in webpage
Started 14 years ago by drumaboy46 | 5 posts |
-
I know how to use php, but I'm having trouble getting the data from a specifc form element to show on my website. For example in Machform it self whn send and email all one has to do is {element_1} for example And it will display the info for that element. I could use post/get but how? I'm having trouble querying the database. I saw another topic and it said to : select element_1 from fom , is that php langauge.
You know what I'll make it simple all I want to do is in my php page is this; meaning a php page outsiede of the machform folder.
ex.
My name is {element_1 of form 5 goes here} and I like cheese
thanks for the help.
Posted 14 years ago # -
I think what you are looking for is the basic PHP+MySQL tutorial on how to display database records into web page.
There are many tutorials on this subject. Here are few of them:
http://www.phpf1.com/tutorial/php-mysql-tutorial.html
http://www.siteground.com/tutorials/php-mysql/display_table_data.htm
http://www.freewebmasterhelp.com/tutorials/phpmysql/4MachForm Founder
Posted 14 years ago # -
umm ok I was hoping to get help with the coding end for use with appnitro. I understand the concepts via those links buy I've seen examples like: select element_1,element_2 from ap_form_3 how do I do this do I connect to the database first like so:
mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query="SELECT * FROM tablename";
$result=mysql_query($query);Posted 14 years ago # -
basically when users make entries to my forms I want the data to show up some where else too other than the admin site. And I would like to select specific elements and forms :) thanks
Posted 14 years ago # -
ok made it work never mind followed the links you gave me.
Posted 14 years ago #
Reply
You must log in to post.