Re: How to pass some data from HTML code ?
| From: | Joao Prado Maia | Date: | Fri, 25 Aug 2000 22:41:16 +0000 |
| Subject: | Re: How to pass some data from HTML code ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13748@lists.php.net to get a copy of this message | ||
At 07:33 PM 8/25/2000 -0300, Anderson wrote:
Hi... I have a little problem to solve... I need to pass a name for a PHP script when a click on a link , its necessary for composing a new page ... Is there any way to do that ?Hi Anderson, If I understood what you want, just do this : test.html : ========== <a href="whatever.php?variable_name=hello">Link description here</a> whatever.php : ========== <?php echo $variable_name; ?> That's how you send variables or information to the next script. A good tip is reading the PHP Manual at http://www.php.net/manual/ with user comments and tips for designing your own scripts. Regards, Joao -- Joao Prado Maia Web Developer Kefta.com, Inc