Jump to content


Photo

EASY question! displaying the value of HIDDEN FIELD, how?


  • Please log in to reply
2 replies to this topic

#1 bilis_money

bilis_money
  • Members
  • PipPipPip
  • Advanced Member
  • 621 posts

Posted 23 August 2006 - 03:06 AM

guys i have this hidden field below,
echo "<input type='hidden' name='topic[$id]' value='$title'/>";

now how could i display the value='$title' using php?



#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 23 August 2006 - 03:09 AM

You would need the $id. Then it would be simply....

echo $_POST['topic'][$id];


#3 bilis_money

bilis_money
  • Members
  • PipPipPip
  • Advanced Member
  • 621 posts

Posted 23 August 2006 - 03:26 AM

Thanks thorpe it works!
many thanks to you again.... :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users