473,657 Members | 2,395 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Populate HTML Form from DB

Hello. I would like to know the basics of populating a html form from
fields in a db. I have data in a db that i would like to modify
through a html form. How can i load the db data into the html form and
then take the changes? Thanks in advance, best group ever!

Apr 4 '07 #1
2 3593
le****@gmail.co m wrote:
Hello. I would like to know the basics of populating a html form from
fields in a db. I have data in a db that i would like to modify
through a html form. How can i load the db data into the html form and
then take the changes? Thanks in advance, best group ever!
There are tons of tutorials out on the web showing how to do this,
an example of such.

Try www.w3schools.com for some good training basics, they have PHP and
many other languages.

And if you want something specific try a Google search, a very quick
search revealed this page which shows select/insert to/from db and forms:
http://www.phptr.com/articles/articl...&seqNum=1&rl=1

It's an older article, so may be PHP 4 based, but fine for what you want.

Hope this helps.

Apr 4 '07 #2
Leo
On 4 abr, 09:35, Tyno Gendo <u...@example.c omwrote:
leo...@gmail.co m wrote:
Hello. I would like to know the basics of populating a html form from
fields in a db. I have data in a db that i would like to modify
through a html form. How can i load the db data into the html form and
then take the changes? Thanks in advance, best group ever!

There are tons of tutorials out on the web showing how to do this,
an example of such.

Trywww.w3school s.comfor some good training basics, they have PHP and
many other languages.

And if you want something specific try a Google search, a very quick
search revealed this page which shows select/insert to/from db and forms:http://www.phptr.com/articles/articl...&seqNum=1&rl=1

It's an older article, so may be PHP 4 based, but fine for what you want.

Hope this helps.
Thanks a lot. I'll give it a try.

Apr 5 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
9073
by: rbt | last post by:
How can I make a python client script connect to a Web server and automatically populate form fields and then submit the form? For example, say I wanted to check and see if 1924 was a leap year... how would I populate the 'year' field and then submit it for processing? I have no control of the server... just the client script. <form action="cgi-bin/leapyear.py"> <p>Enter a year and find out if it's a leap year: <input type="text"...
2
18061
by: C. David Rossen | last post by:
Hello: I have a registration form for classes. Each class has a fee. I have a drop down box whereby the user chooses his class. There is a textbox with the associated fee. I would like to auto populate the fee textbox depending on what class the user chooses. In the email, the value of the drop down box has to be the name of the class and the value of the fee text box has to be the fee. Can someone please help me in accomplishing...
1
6347
by: Greg Scharlemann | last post by:
I would like to automatically populate a drop down menu when the page loads based on the selection of an item in a different drop down menu. I made a test page that when drop down #1 changes, drop down #2 populates. Does anyone know how to get drop down #2 to populate based on what is selected in drop down #1 when the page loads? Here is my test code: ************************************************************************ <html>...
1
3607
by: jzhang29 | last post by:
I have a JSP page and it contains a dropdown list called Office. What I try to do is: When I select different office from this list, the information of office (address, phone,etc) will be populated in same JSP page. I have a java bean called officeBean that contains all the office information.
10
2724
by: Craig Keightley | last post by:
I have the following array: function showCPUs(){ //name brandID dualCore dualProcessor var cpuItem=; var cpuItem=; var cpuItem=; var cpuItem=; var cpuItem=; var cpuItem=; var cpuItem=;
5
3633
by: Richard Rosser | last post by:
Greetings. I know not one word of Javascript and wondered if there was an easy way to pre-populate a form field in a similar manner to populating an eMail 'subject' field? - The following populates the subject field in an eMail: a href="mailto:me@anwhere.com?subject=USER ID 12345 How can I populate the first field of a form (or can I?) with the same information - i.e. the USER ID located on the HTML page calling the form?
1
6501
by: vj | last post by:
How i can populate all fileds dynamically in jsp page based on contents found in xml file? I have written jsp servlets and java class file. i transferred automatic data from jsp to servlet then to java class which creates a xml file based on values entered in dynamic jsp page. Now i want to read all those values entered to xml in my other jsp page. I am able to call values from file in my jsp page. But as dynamic values can be any in no...
3
7390
daJunkCollector
by: daJunkCollector | last post by:
I have the html/javascript posted below, I imagine the fix to my problem is something simple that I am overlooking. My script is a little bit of html and javascript, and there is an embedded flash file written in actionscript. This is a test page, and I am furious that it is posing such a problem. I am communicating between the html and flash object. My goal is to populate the flash object textbox with the value of the html combobox (I...
10
4342
by: mcfly1204 | last post by:
I have data in a database that I would like to use to populate a form to be printed out. My initial thought is to use an HTML template, populate it programatically, and then print the populated form. Is this the best method to print out data from a database in a manner that it can be easily read? If so, is this even possible from a console application? I realize that the terms form and console application do not mix, but I intend to have...
5
3997
by: giandeo | last post by:
Hello Experts. Could you find a solution for this problem please! I have the following tables in Access Database Table Name: origin Fields Names: country, countrycode Table Name: make Fields Names: countrycode, make
0
8310
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8826
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6166
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4306
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.