Welcome to Dream.In.Code
Getting Help is Easy!

Join 109,157 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,025 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Website form to database

 
Reply to this topicStart new topic

Website form to database, taking data from a form to update database

ivette
post 10 Jun, 2008 - 10:31 AM
Post #1


New D.I.C Head

*
Joined: 10 Jun, 2008
Posts: 4

I just created my first website and now I need to populate a database with information entered on my feedback page. I am using Expression Web but I just cant seem to make it work. When the Submit button is clicked it opens the database. Can anyone direct me to sample code that might help me correct it? Thanks.
User is offlineProfile CardPM

Go to the top of the page


jayman9
post 10 Jun, 2008 - 10:34 AM
Post #2


Student of Life

Group Icon
Joined: 26 Dec, 2005
Posts: 6,320



Thanked 22 times

Dream Kudos: 500

Expert In: C#, VB.NET, Java

My Contributions


We can do even better than that, post your code and we will help you get it working.

Post the code that is inserting the data into your database.
User is online!Profile CardPM

Go to the top of the page

PsychoCoder
post 10 Jun, 2008 - 10:34 AM
Post #3


DIC.Rules == true;

Group Icon
Joined: 26 Jul, 2007
Posts: 7,225



Thanked 52 times

Dream Kudos: 7775

Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, GDI

My Contributions


First, what language and database are you using? Second, can you post the code you're currently using so we can see if we can help walk you through your troubles. When posting your code please put it inside code tags like so code.gif
User is online!Profile CardPM

Go to the top of the page

ivette
post 10 Jun, 2008 - 04:03 PM
Post #4


New D.I.C Head

*
Joined: 10 Jun, 2008
Posts: 4

QUOTE(jayman9 @ 10 Jun, 2008 - 10:34 AM) *

We can do even better than that, post your code and we will help you get it working.

Post the code that is inserting the data into your database.




Jayman, thank you for the response, here is the code

<h2>
&nbsp;<p class="style20">Feedback</p>
</h2>
<form action="" class="style10" method="post" style="width: 682px; height: 399px">
Full Name<input class="style11" name="Text1" style="width: 344px" type="text" /><br />
Address<input class="style12" name="Text6" style="width: 344px" type="text" /><br />
City<input class="style13" name="Text7" style="width: 156px" type="text" /><br />
State<input class="style14" name="Text8" style="width: 155px" type="text" /><br />
Zip<input class="style15" name="Text9" style="width: 156px; height: 25px" type="text" /><br />
Phone<input class="style16" name="Text10" style="width: 157px; height: 25px" type="text" /><br />
Alt. Phone<input class="style17" name="Text11" style="width: 156px; height: 24px" type="text" /><br />
Email<input class="style18" name="Text12" style="width: 265px" type="text" /><br />
Vacation Preference<input class="style19" name="Text13" style="width: 313px; height: 24px" type="text" /><br />
<br />
Suggestions<br />
<textarea name="TextArea1" style="width: 475px; height: 81px"></textarea><a href="../../../Express%20Holidays.mdb"><img id="img1" alt="Submit" height="20" onmousedown="FP_swapImg(0,0,/*id*/'img1',/*url*/'button7.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'button5.jpg')" onmouseover="FP_swapImg(0,0,/*id*/'img1',/*url*/'button6.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img1',/*url*/'button6.jpg')" src="button5.jpg" style="border: 0" width="100" /><!-- MSComment="ibutton" fp-style="fp-btn: Border Bottom 3; fp-font: Arial, Helvetica, sans-serif; fp-font-style: Bold; fp-font-size: 12; fp-preload: 0" fp-title="Submit" --></a><br />
<br />
<br />
<br />
</form>


QUOTE(PsychoCoder @ 10 Jun, 2008 - 10:34 AM) *

First, what language and database are you using? Second, can you post the code you're currently using so we can see if we can help walk you through your troubles. When posting your code please put it inside code tags like so code.gif



PsychoCoder, I am using Expression Web not sure what language and Access database. Please see my reply to jayman for the code. Thank you for your reply.
User is offlineProfile CardPM

Go to the top of the page

BetaWar
post 10 Jun, 2008 - 04:44 PM
Post #5


#include <soul.h>

Group Icon
Joined: 7 Sep, 2006
Posts: 1,223



Thanked 38 times

Dream Kudos: 725
My Contributions


I believe they are talking about your server side stuff, not the front end. So, if you have access tot he php/asp that is running your back end that is what jayman was talking about.
User is online!Profile CardPM

Go to the top of the page

ivette
post 10 Jun, 2008 - 05:34 PM
Post #6


New D.I.C Head

*
Joined: 10 Jun, 2008
Posts: 4

QUOTE(BetaWar @ 10 Jun, 2008 - 04:44 PM) *

I believe they are talking about your server side stuff, not the front end. So, if you have access tot he php/asp that is running your back end that is what jayman was talking about.



I dont know how to find that. Do I need to convert the Feedback page from htm to asp?
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 9/5/08 05:38PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month