Skip navigation
webnewbie10
Currently Being Moderated

Tiny Victory? Check my work...

Jun 5, 2012 6:02 AM

I'm trying to understand the code in my site, and make a few small adjustments, without having to run to the developer each time. Frankly, the  code on my site is way above my level of experience. But I am trying to slowly understand what each of the pieces does...

 

So, my first attempt at making a change...
The coder forgot to put a space between the setting and the type in the title of the results page.

 

This is the old code

$this->DISP->title = "View... ".$settingTitle.urldecode($type['type_name'])." #".$d['id']."...".urldecode($r['region_name']);

 

I added ' '.

$this->DISP->title = "View... ".$settingTitle.' '.urldecode($type['type_name'])." #".$d['id']."...".urldecode($r['region_name']);

 

Would someone please tell me if I did this correctly. It seems to work on the site. But since I'm such a novice, I wanted to make sure what I did wouldn't impact any code other than that line...

 

People are probably rolling their eyes, at the simple nature of my question. But I figure, everyone has to start somewhere... Thanks for your patience.

 
Replies
  • Currently Being Moderated
    Jun 10, 2012 6:39 AM   in reply to webnewbie10

    I think you are safe, but at first glance I thought it was wrong because you were not using double quotes.

     

    That's not a simple line of code, so good for you for figuring out how to edit it.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points