paparts Posted June 23, 2008 Share Posted June 23, 2008 how do you create a php flash message? using sessions? I have an array of urls and I want to display them using a flash message can u teach me how to create one Quote Link to comment https://forums.phpfreaks.com/topic/111495-php-flash-messages/ Share on other sites More sharing options...
MadTechie Posted June 23, 2008 Share Posted June 23, 2008 and what is a "flash message".. A) a flashing message. B) a message written in flash. C) a Banner Message! what do you have so far. Quote Link to comment https://forums.phpfreaks.com/topic/111495-php-flash-messages/#findComment-572206 Share on other sites More sharing options...
paparts Posted June 23, 2008 Author Share Posted June 23, 2008 I am having a problem with this array of urls and I want to redirect them all using nested foreach loops. My problem is that it reaches the maximum execution time after having ample of urls. and returning me an error. what I want to do is have a flash message redirecting individual urls. Like after redirecting url[0] i want to print the redirection on screen the next url - url[1] redirected and displayed on screen and so on... Quote Link to comment https://forums.phpfreaks.com/topic/111495-php-flash-messages/#findComment-572276 Share on other sites More sharing options...
MadTechie Posted June 23, 2008 Share Posted June 23, 2008 Sounds like a Job for Javascipt.. maybe echo the array to a JS script (to build the array) Quote Link to comment https://forums.phpfreaks.com/topic/111495-php-flash-messages/#findComment-572374 Share on other sites More sharing options...
paparts Posted June 24, 2008 Author Share Posted June 24, 2008 how do you do that? prints directly on screen before the next loop starts again. Quote Link to comment https://forums.phpfreaks.com/topic/111495-php-flash-messages/#findComment-573116 Share on other sites More sharing options...
paparts Posted June 24, 2008 Author Share Posted June 24, 2008 can php do the printing directly before the next loop excutes? or Do I need javascipt? Quote Link to comment https://forums.phpfreaks.com/topic/111495-php-flash-messages/#findComment-573188 Share on other sites More sharing options...
paparts Posted July 7, 2008 Author Share Posted July 7, 2008 Thanks for the help guys atlast I got the answer for this last week.. There was an ob_flush function after all. tnx again Quote Link to comment https://forums.phpfreaks.com/topic/111495-php-flash-messages/#findComment-583342 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.