SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Jun 22, 2007, 15:18 #1
- Join Date
- Sep 2005
- Posts
- 96
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
PHP - How do you edit TEXT_ lines?
This is the second time ive came across this, im not experienced in php but I have a line that goes to a drop down box to select multiple options but I want the default text to say something different then All Manufacturers.
PHP Code:echo tep_draw_hidden_field('manufacturers_id', $HTTP_GET_VARS['manufacturers_id']);
$options = array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES));
} else {
echo tep_draw_hidden_field('cPath', $cPath);
$options = array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS));
}
Does it tie in with an sql database or is TEXT_ALL_MANUFACTURERS being called somewhere else?
Thanks
-
Jun 22, 2007, 15:24 #2
- Join Date
- Aug 2000
- Location
- Philadephia, PA
- Posts
- 20,578
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Somewhere else in your code, TEXT_ALL_CATEGORIES and TEXT_ALL_MANUFACTURERS are defined. Whether they were defined with information from a database or not I can't say without the code.
Looking for calls to the define() function.Try Improvely, your online marketing dashboard.
→ Conversion tracking, click fraud detection, A/B testing and more
Bookmarks