Everything posted by Shelby_Polo
-
The Obligatory Ice Hockey Thread
Picking SJ isn't risky because SJ should be a great team, but they seem to choke during playoffs. I think the Wings are better right now, and even if you don't think Jimmy isn't as good as Quick, Jim is still a great goaltender. I also think Thornton historically plays bad against the Wings; as long as they can stay out of the box.
-
The Obligatory Ice Hockey Thread
John, your lack of faith in Detroit upsets me. VAN - 6 DET - 6 WSH - 7 PHI - 6
-
The Obligatory Ice Hockey Thread
- Get the new Firefox 4 today
I think I still prefer Chrome, but Firefox 4 looks promising and I'm ecstatic to see HTML 5 and CSS 3 breaking out. :thumbup:- [Help] [PHP] Variables/Strings
Just as an fyi, this worked; thanks John. <?php $str = $use['value']; $order = array(' ', '&'); $replace = array('-', 'and'); $newstr = str_replace($order, $replace, $str); echo $newstr; ?>- [Help] [PHP] Variables/Strings
Which is what's happening, so instead I want to change spaces :arrow: "-" and "&" :arrow: "and" within the string. Like if I have a page www.website.com/home-projects-and-hobbies/ but the string is "home projects & hobbies", how can I change it to use the dashes (as well as "&" to "and")?- [Help] [PHP] Variables/Strings
I'm using a php loop that creates the links here: Code that makes the links: <a href="<?php echo Mage::getBaseUrl();?><?php echo $use['value'] ?>"><?php echo $this->htmlEscape( $use['value'] ) ?></a> Important part from above: <?php echo $use['value'] ?> $use['value'] is used for the end of the url, for example www.website.com/candlemaking The trouble is when $use['value'] has spaces or &- [Help] [PHP] Variables/Strings
I'm looking for some help with converting special characters within a string to a different character. Current Code: <?php echo $use['value'] ?> $use is an array ['value'] is the string within the array I'm taking the data from $use['value'] and using it in a URL. The problem is if $use['value'] is something like "Home Projects & Hobbies" the URL gets messed up; it will look like /Home%20Projects%20&%20Hobbies. So, if possible, I want to write a little script that will take the spaces of the string and convert them into "-" and take the "&" symbol and convert it into "and".- Skill Guide Correction
Hey there, Thanks for your submission. This has been fixed and you've been credited.- My first 99 � picture collection!
W00t Juhni! :thumbsup: Congrats- Forum Updates - Shout-out to Peter
Yay Peter- JK I really do quit.
:cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry:- The Winners of Shahdie Gives Back: Spring Edition Are�
- The Day of PokeMadness!
- Real Life Book of Zamorak - COVER DONE!!
That looks really good :thumbsup: - Get the new Firefox 4 today
Important Information
By using this site, you agree to our Terms of Use.