![]() |
|
#1
|
|||
|
|||
Just need one simple example or link to such exampleOk, I was already flamed to hell for asking this on other forums but I hope you guys are as friendly as your reputation says:
I have an HTML page with lots of text input fields and a radio button or two, now how to I take that info and transfer it into a MySQL database that is on another machine on the same network? Basically, I just need an example of taking the product of an input field after it has been "submtted" or whatever the button click does and putting that into a MySQL database. I would also appreciate (but it is not necessary) if I could have an example of the reverse. Taking data from the MySQL database and displaying in an HTML page in an editable text field. I am really just asking for a simple, single example, and to my great astonishment no one online has been willing to help me or pointed me to a decent source but rather I was insulted and whatnot. Anyway, I hope to see a simple example from one of you kind folks... |
|
#2
|
|||
|
|||
|
You should be using PHP to create the HTML pages.
Here is a link to a tutorial that explains how to create forms using PHP: www.w3schools.com Here is a link to a MySQL and PHP tutorial: www.freewebmasterhelp.com Hope this helps you get started. Last edited by admin : 26-Jul-2005 at 01:29.
Reason: Please set up signature in your profile only
|
|
#3
|
|||
|
|||
|
Your question is too broadly worded to be answered simply.
You need to either have access to the database (username, password, address) on the remote server and write the data to that database, or you can use the action attribute in your HTML form statement to send the form data to a receiving script on the remote server, which will then write the data to the database. Either way, you need to be able to write PHP and MySQL to accomplish this. There is no way to simply transfer form data to a database. What you are trying to do is not commonly done, so it does not surprise me that you are not getting responses. |
Recent GIDBlog
A Week in Kuwait by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| High quality link building | spogg | Search Engine Optimization Forum | 7 | 23-Aug-2006 11:41 |
| simple form from generated page | zuzupus | Web Design Forum | 0 | 17-Sep-2003 09:27 |
| See where your last referrers that searched came from and have a link to it | jrobbio | MySQL / PHP Forum | 0 | 11-Mar-2003 11:17 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The