Make your own free website on Tripod.com
Home     My Faqts     Contributors     About     Help    

FAQTS : Computers : Programming : Languages : PHP : Language and Syntax : General

Entry Add Entry Alert - Edit this Entry

Did You Find This Entry Useful?

4 of 4 people (100%) answered Yes
Recently 1 of 1 people (100%) answered Yes

How can I call a variable from another script and use it as the value for a new hidden form name?

Nov 29th, 2000 01:57

Pavel Prishivalko, Nicholas theuriet


For PHP 4:


<? // OtherScript.php
session_start();
$var = "blah";
session_register("var");
?>


<? // Script.php
session_start();
echo "<input type=hidden value=$var name=var_name>";
?>


Good Luck :)



1999-2000 Synop Software