Jump to content

[SOLVED] Increments


swamp

Recommended Posts

Yeah there is more to my script, my only concern is how to get $i into $_SESSION['item'$i]

 

The way you have it should work, after you increment your variable of course.  It's also conventional to use single quotes for associative arrays rather than double.

Link to comment
https://forums.phpfreaks.com/topic/166992-solved-increments/#findComment-880475
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.