I need some PHP help. Here is my problem:
I have a class that is called from within a template. This class calls 5 functions that create some HTML for displaying the product attributes. The code is passed back to the template is ECHOed out.
The code in the class is creating a drop-down for each product attribute. I am trying to add code to put in an input text box under the drop-downs.
I added the following function
I called tep_draw_input_field and gave my input field the name of 'customtext'Code:function _draw_textinput_attributes() { $out=''; $out.='<tr><td align="right" class=main><b>'."Custom Text:</b></td><td class=main>".tep_draw_input_field('customtext', '', 'style="width: 400"')."</td></tr>\n"; return $out; }
How do I access the value that is stored in 'customtext'? Is there a way to access this from outside of the class?
Any help would be appreciated.




LinkBack URL
About LinkBacks






Bookmarks