problem with the session and global variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello people.

I have an problem very very complicate for me.
I have some template in my web sitie, and a car buy, I want to show to the user what count of the books have in your car buy,
but when I enter a new page in the other tampletae the variable take 1, why?
In ache page I write the following line 
session_start()

and the template I write 
if (isset($_SESSION['listprod'])) { $c=$_SESSION['i'];
  echo $c." "."books in your car buy";

some bidy can help me?

best regards TOMAS




-------------------------------------------------------------------------
Este correo fue escaneado en busca de virus con el MDaemon Antivirus 2.27
en el dominio de correo angerona.cult.cu  y no se encontro ninguna coincidencia.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux