Jump to content

[SOLVED] Session array?


quillspirit

Recommended Posts

<pre>
    <?php

          print_r($_SESSION);

     ?>
</pre>

 

This code will output something like this: (Taken from my wife's shopping list database I created)

 

Array

(

    [list_items] => Array

        (

            [622] => Dish Soap

            [707] => air freshners

            [708] => dryer sheets

            [709] => sponges

            [686] => keilbossa

            [699] => bar soap

            [700] => bath soap

            [703] => kleenex

            [704] => bowls

            [705] => toilet paper

            [706] => paper towels

        )

 

)

Link to comment
https://forums.phpfreaks.com/topic/50582-solved-session-array/#findComment-248695
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.