i have written 2 files. one is a PHP and the other one is Html (form file).
i have echoed in PHP as follows:
<? php
$message = $_POST['stop here'];
echo $message ;
i want to send this message to an Html form file, as a text. i tired to put it in the form as follows:
<p><input type="text" name="message" value="<?php echo $message;?>" size="75"></p>
it does not work.

Recommended Answers

All 2 Replies

You aren't providing enough information. Please post both pages here in their entirety.

<?PHP global $message; ?>
.... in html before everything

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.