Reply to Re: [PHP] problem with the session and global variable

Your name:

Reply:


Posted by Tomαs Rodriguez Orta on 09/04/05 04:21

Ok. thanks but I am did a mistake at the code web sitie.

but I solve this problem.

thanks very mouh.
@TOMAS
----- Original Message -----
From: "Gustav Wiberg" <gustav@varupiraten.se>
To: "TomΓ‘s Rodriguez Orta" <admin@angerona.cult.cu>;
<php-general@lists.php.net>
Sent: Friday, September 02, 2005 10:29 PM
Subject: Re: [PHP] problem with the session and global variable


> Hi there!
>
> I don't quite understand what you're trying to do here. Please send more
> code, then I might be able to help you... :-)
>
> /G
> @varupiraten.se
>
> ----- Original Message -----
> From: "TomΓ‘s Rodriguez Orta" <admin@angerona.cult.cu>
> To: <php-general@lists.php.net>
> Sent: Saturday, September 03, 2005 4:46 AM
> Subject: [PHP] problem with the session and global variable
>
>
> 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.
>
>
> --------------------------------------------------------------------------
------
>
>
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.10.18/88 - Release Date: 2005-09-01
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> -------------------------------------------------------------------------
> 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.
>


-------------------------------------------------------------------------
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.

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация