Jump to content

Recommended Posts

hi, i'm tired of typing them again and again in piece by piece.
so i would like to hear your tricks on how would you go about to print this in one go?

I've assigned all the $_session like these below,
[code]
$_SESSION['s_id'] = $row[id];
$_SESSION['s_photo_filename'] = $row[photo_filename];
$_SESSION['s_tmp_name'] = $row[tmp_name];
$_SESSION['s_type'] = $row[type];
$_SESSION['s_size'] = $row[size];
$_SESSION['s_path'] = $row[path];
$_SESSION['s_date'] = $row[date];
$_SESSION['s_comments'] = $row[comments];
$_SESSION['s_photo_category'] = $row[photo_category];
[/code]

now how would i print them on one go? a very short codes trick is much better.

Thank you very much in advance.


-ok, i'll try to experiment mine while waiting your trick for this.
Link to comment
https://forums.phpfreaks.com/topic/14478-printing-_session-values-in-one-go/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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