waz Posted June 8, 2007 Share Posted June 8, 2007 i have a button which is created on the fly i give that button a unique name so that i can do a check on if( $_SESSION['prod'] =='Submit' to see if its clicked the name i give it is from a field of a query. how can i check against or find out what that button name is i have assinged i thought of a session but it only stores one buttons data and i cant work out how to get it to store an array. Please help head hurts so much. Ps am i going at this the long way round like i said objective is if button == clicked then do a loop checking all buttons until i find one clicked problem is they all need a unique name. Quote Link to comment https://forums.phpfreaks.com/topic/54748-sessionproblem/ 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.