Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/06/2009, 11:25
Avatar de DIRAB51
DIRAB51
 
Fecha de Ingreso: diciembre-2002
Mensajes: 106
Antigüedad: 22 años, 1 mes
Puntos: 0
Mantener valor de Variable

Hola a todos tengo un script para almacenar una variable y abrirla luego en otra página, pero el caso es que a veces no me almacena la variable correcta. Me podeis ayudar.

Script
<?php
// Aqui envio la variable
session_start();



?>
<td bgcolor="transparent"><?php print "<img src=\"photo/$fotografia\" alt=\"\"> "; ?> </td>
<td bgcolor="transparent"><table width="164" border="0">
<tr>
<td><div align="left"><?php print "<a href=\"http://www.diazdeaguilar.com/webnotocar/comunicacion2.html\"target=\"_top\" class=\"en_b\"><img src=\"./images/bullet_b.gif\" width=\"11\" height=\"9\" border=\"0\">$texto</a><br><br>";$_SESSION['variable'] = $newsid ?></div></td>
</tr>
</table></td>
<td>&nbsp;</td>
</tr>
<?php

Gracias anticipadas.