Re: [PHP] A tricky little addition

2005-09-14 Thread Richard Lynch
On Wed, September 14, 2005 2:25 pm, Ross wrote: > Hello, > > > If I have a variety of submit buttons all called 'add' but with > different > vaues, (food types fish, pork, beef ) > > I want to feed this into a function to increment the corresponfding > cookies > value by 1. This is what I have so

Re: [PHP] A tricky little addition

2005-09-14 Thread Jordan Miller
the syntax for variable variables is: $variable= $$add; or alternatively: $variable= ${$add}; Jordan On Sep 14, 2005, at 2:25 PM, Ross wrote: $variable= "$".$add; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php