fearmyride Posted December 11, 2006 Share Posted December 11, 2006 Hi,I'm new with php so the more information you give the more i apreciate it ;DWhat i want to do is build a string when users click on a link, like the name of the song but i want the string to be accessed from other pages, i guess the word here is i want the string to be global. Ex. if the user is at certain album page and he/she clicks on the songs that he/she wants to play which will build the string one song at a time and then moves to another page where there is another album and does the same thing until the user clicks Play The Playlist. Then of course from the string i will create a playlist file like m3u or ram, but i can do this. the only thing i need is to create the string that is available throughout the site for that session only.Thank you so much for your help Link to comment https://forums.phpfreaks.com/topic/30221-creating-and-building-a-string-help/ Share on other sites More sharing options...
JasonLewis Posted December 11, 2006 Share Posted December 11, 2006 why dont you just use SESSIONS then?just store each song onto the end of a $_SESSION global array... Link to comment https://forums.phpfreaks.com/topic/30221-creating-and-building-a-string-help/#findComment-138917 Share on other sites More sharing options...
fearmyride Posted December 11, 2006 Author Share Posted December 11, 2006 wow that was quick,That's a great idea, and less work too. I'll try that, meanwhile i will check it here for more ideas.Thanks a lot Link to comment https://forums.phpfreaks.com/topic/30221-creating-and-building-a-string-help/#findComment-138918 Share on other sites More sharing options...
fearmyride Posted December 22, 2006 Author Share Posted December 22, 2006 i'm stuck, anyone has an example how to use the $_SESSION arrays and how to call them at once, thanks Link to comment https://forums.phpfreaks.com/topic/30221-creating-and-building-a-string-help/#findComment-146627 Share on other sites More sharing options...
trq Posted December 23, 2006 Share Posted December 23, 2006 [url=http://www.php.net/manual/en/ref.session.php]Yes[/url]. Link to comment https://forums.phpfreaks.com/topic/30221-creating-and-building-a-string-help/#findComment-146639 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.