0
I’m trying to add a value to a variable within a text with echo
and I’m not getting it, the value is available because I can access it.
What I have is this, I couldn’t insert the code properly, so the image:
Watching by the console of Chrome
have it:
print_r result($_SESSION):
Array ( [usuarioID] => 124 [nomeUsuario] => Valter Ferreira Martins [email] => [email protected] [IdCategoria] => 0 [Cliente] => 4 [produtos_1417] => 13 [produtos_1676] => 0 [produtos_1207] => 0 [produtos_1306] => 1 [produtos_1508] => 1 )
When I place the mouse pointer over the Add variable button it is no value, but in the console the value is available.
Put the source code there, use the button
{ }
to display it correctly. Give aprint_r($_SESSION);
tbm– rray
In the
href
has double quotes remaining, remove one of them– rray