|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have a form set up on one page called stockinfo.html that looks like this:
FORM THAT SUBMITS TO STOCKINFO.PHP: Code:
<form method="POST" action="stockinfo.php"> <p align="center"> <input type="text" name="symbol" size="5"> <br> <input type="submit" name="Submit" value="Get Now!"> </p> </form> I need the variable "symbol" from the form to go into the area below marked with #### in my stockinfo.php file: STOCKINFO.PHP: PHP Code:
What do I need to do on the stockinfo.php file to get this variable where I want it? Thanks in advance for the HELLLPPP! |
|
#2
|
||||
|
||||
|
Code:
<html> <head> <title>More Info</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <script language=javascript src='http://testserver.com/tools/MP01?queryid=QF310&symbol=<?php echo $_POST["symbol"]; ?>'> </script> </body> </html>
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Java Development > Getting a PHP Variable into a line Java code? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|