Jump to content

sessionproblem


waz

Recommended Posts

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. 

 

 

Link to comment
https://forums.phpfreaks.com/topic/54748-sessionproblem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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