Chris, Thanks for looking into this and please feel free to point out ANY syntax errors. I have been thrown in the deep end here and I am learning my way through php :-)
My code : http://www.pastie.org/2429277
Basically I am getting values from the database and populating a drop down list (which is working) Then I have two hidden fields for unique ID and for the team name. For now I was just focussing on the Unique ID.
lines 60 - 63 returns the correct values, so I know my variables are working.
lines 161 - 165 is the function I am using at the moment to see if I could get it to work. And basically if I put in there $value = 'boom!' then it works and the value is dynamically placed in the text box.
I can even echo the value passed to that function and get the correct value returned. But as soon as I use the uniqueID in the return statement, the value does not get passed to the form. It is VERY strange... I can give you full access to this server if it will help, just let me know where I must mail the details.
Thanks again! I owe you guys A LOT!
The site is topweddingphotos.com (developmet server)
Posted 10 years ago on Thursday August 25, 2011 | Permalink