View Single Post
Old 11-16-2012, 01:09 AM   PM User | #16
LearningCoder
Regular Coder

 
LearningCoder's Avatar
 
Join Date: Jan 2011
Location: The Pleiades
Posts: 849
Thanks: 67
Thanked 28 Times in 28 Posts
LearningCoder is an unknown quantity at this point
You know I was thinking to check it against one of my pre determined values and was going to use in_array() to search for the value. I read somewhere that if there's a select box in a form and it gets submitted, you receive the value as an array? Did some var_dump()ing and it showed up as a string so I'm not sure how true that was. I have already created an array in a script dealing with my products page so I wonder if I can use that value in this script or whether or not to just create another one.

EDIT: just found it. inside the same file. moved it about and its got global scope now.

Thanks for the tip.

Regards,

Lc.

Last edited by LearningCoder; 11-16-2012 at 01:29 AM..
LearningCoder is offline   Reply With Quote