Help - Search - Members - Calendar
Full Version: Simple html code
HTMLHelp Forums > Programming > Databases
suvadip
First of all I am very very new to HTML. My questions may appear very silly. I used to write HTML code in notepad and save it with .html extension and then run it in google chrome browser.




I want to write a html code. The code should be so that in the input field there is only a dropdown menu with entries like 'good' and 'bad'. But the output should be like:

----Ram is a good boy ------

if we choose 'good' from the dropdown menu.


There should be only a partition between the input and output in the same page.
Please give me a sample code.
Brian Chandler
What does this have to do with databases?

There is no "HTML code" for what you want to do: it looks like a very simple server program to provide a response to a form. You need to learn:

(1) How to create a form in HTML
(2) How to write a server program in PHP or similar

Try reading tutorials on HTML, PHP, and basic programming. There is no "sample code", unless you mean "Please write it for me." in which case the answer is "No."
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.