SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2005
    Posts
    96
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question 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));
            } 
    I tried changing TEXT_ALL_MANUFACTURERS to TEXT_HEALTH_CONCERNS but that did not work it displayed TEXT_HEALTHY_CONCERNS.

    Does it tie in with an sql database or is TEXT_ALL_MANUFACTURERS being called somewhere else?

    Thanks

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    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.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •