Jump to content

Updating (Test.html) with an html code

NewBeginning

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
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 3600 || GPU: RTX 3070|| Memory: 32GB @ 3200 || Cooler: Scythe Big Shuriken || PSU: 650W EVGA GM || Case: NR200P

Link to comment
Share on other sites

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)

The answer to PC cooling is aircon. RGB sucks. Have you tried turning it off and on again

Adv Dip Computer Engineering  |  CCNA  |  ITIL  |  macOS Support Essentials  |  Security + |  Internal Cabling License  |  SAA-C03  |  RHCSA (studying)

 Level 2 Support full admin AD  |  IBM Server Build Technician  |  Various IT consulting work

The Hermit Build

Link to comment
Share on other sites

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

×