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