1
Answer

Notepad++ & Xampp

ROHIT BAHRI

ROHIT BAHRI

2y
755
1

Hi,

Actually I was trying to genrate a form and store values in data base and I saw your tutorial "create-an-html-form-and-insert-data-into-database162", where you have narrated to write a code in notepad ++. 

I am not that thorow with these tools. And yet not able to see those results as indicated by you in the above link. 

May be I am not naming the files correctly, if you can guide me through it. 

1) U wrote a code to input first name, last name , password etc... please guide as how to save this file and by what name & extension.

2) Then you wrote a code for css file.... also please guideas how to save this file and by what name & extension.

3) Xampp aslo

Answers (1)
0
Rajkiran Swain

Rajkiran Swain

28 40.7k 3.4m 2y

plays a crucial role in this process. Once you have saved your HTML and CSS files, you need to place them in the correct directory within XAMPP so that they can be accessed through a web browser. Here are the steps you can follow:

  1. Save the HTML file with a ".html" extension. You can name it whatever you like, as long as it ends with ".html". For example, "form.html".

  2. Save the CSS file with a ".css" extension. Again, you can name it whatever you like, as long as it ends with ".css". For example, "style.css".

  3. Open XAMPP and start the Apache server. This can be done by clicking the "Start" button next to "Apache" in the XAMPP Control Panel.

  4. Place your HTML and CSS files in the "htdocs" directory, which can be found within the XAMPP installation folder. For example, "C:\xampp\htdocs".

  5. Open a web browser and enter the URL "http://localhost/your-file-name.html" (replace "your-file-name" with the actual name of your HTML file). This should display your HTML form in the browser, styled with your CSS file.

I hope this helps! Let me know if you have any further questions.