Jump to content

Hi. And great day everyone. Hope you're doing well. I'm still learning html. And just wondering if this is possible.
Test.html (Main File) has

(Text input) Name: <input type="text"> 

(Button) labeled as "UPDATE FILE" or "SAVE" or "ADD PERSON"

<button type="Button" name="UPDATE FILE/SAVE/ADD PERSON">

Will update Test.html file.

Any help will be much appreciated. Thanks a lot!

Link to comment
https://linustechtips.com/topic/1555477-updating-testhtml-with-an-html-code/
Share on other sites

Link to post
Share on other sites

Whats your goal here?

 

Generally for stored information, you would want to reach out to a separate file that is actively ready for read and write updates.

Writing to a file that is currently being read is wildly against programming practice 

Community Standards || Tech News Posting Guidelines

---======================================================================---

CPU: R5 9600X || GPU: RX 9070 XT|| Memory: 32GB || Cooler: Peerless Assassin || PSU: RM850e|| Case: Lian Li A3

Link to post
Share on other sites

Build with php and send the information to mysql, then have a new page retrieve from mysql, your first page can go to this after the submit.

https://www.youtube.com/results?search_query=html+sql+php

 

Help us help you. what you submitted is not code and if code is submitted the code tag should be used, it's on your forum text editor labeled code and looks like this:

<!doctype html>
<html>
<head>
    <title>Example Domain</title>

 

Download and use a LAMP stack

https://en.wikipedia.org/wiki/LAMP_(software_bundle)

Hermit Rolling Build & Datacentre Colocation

Level 2 Support  |  Datacentre NetOps |  IT consulting  |  Entrepreneur

No help vampires, drive-by posters, or one-post wonders — I believe in mutual effort and learning.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×