hi.

i have a variable stored in a session:

$this->Session->write('Link.Attachment.Count', $count);

this is about uploaded attachments and i want to save the path for
each attachment. lets say i want to save the 3rd attachment that was
uploaded, then i wanna have this name for my session:

$this->Session->write('Link.Attachment.3.path', valuexyz);

so the number is related to the "'Link.Attachment.Count" value...but
how do i code this? this seems not pretty nor correct, but you get an
idea of my problem:

$this->Session->write('Link.Attachment."$this->Session-

>read('Link.Attachment.Count')".path;

thx :)

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to