How to make the variable cross pages effectively
Posted on 2010-11-23
I'm sending some data from a variable that is retrieved successfully in a previous page and I need it to be part of a value of a submit, since I need it to use the value in another page and I'm sending it from a form, but for some reason the value is not going...
I can't seem to make this work:
<?php $programa1 = $dados['link']; ?>
<form action="oucaGeral.php" method="post">
<input type="hidden" value='<?php echo $programa1; ?>'>
<input type="image" src="Toolbar Music.png" alt="Submit button" width="31" height="31">