NameSilo

How do I add the text in the script from HTML

Spaceship Spaceship
Watch

iWonder

Established Member
Impact
2
Hi , I`m a php learner in starting stage , infact i don`t know php at all
So i need a lil help , :blink:

I want to make a html page with a text box in which when user specifies a word it goes to the php page . let me explain :

A user comes to a page and enter`s a word in the text box present there and press submit . then the word should go to the code below .

<?

blah blah;
blah blah = $ blah;
blah = $"Word here" ;

?>

Hope you get what I meant :hehe:
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable DomainsUnstoppable Domains
0
•••
Well it would nice if someone told me how to do this now ,

I`ll surely look at the tutorial thanks :)
 
0
•••
first page

<html>
<head></head>
<body>
<form action="get.php" method="POST">
<input type="text" name="word">
<input type="submit" value="submit word!">
</form>
</body>
</html>

second page "get.php"


<?php
$word_entered = $_POST[word];
?>
 
0
•••
0
•••

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back