Yeah, I sorta knew that, and my code - which looks like yours - seems to work, but I was still skeptical.

Now that I have "Jedi Approval", I'm good!

Thanks!!!

Debbie

DoubleDee
—
2012-09-30T17:22:06Z —
#4

cpradio,

BTW, what would be a better name for this than "URL"...

http://local.debbie/finance/articles/

I am leaning towards $articleBaseURL

What do you think?

Thanks,

Debbie

cpradio
—
2012-09-30T17:28:00Z —
#5

Keep in mind, that variable only exists within your function, so $url is representative within the function. Outside of the function if assigning the value returned by genereateUrl to a variable, I'd use $articleUrl.

DoubleDee
—
2012-09-30T17:37:49Z —
#6

cpradio said:

Keep in mind, that variable only exists within your function, so $url is representative within the function.