Remove space between two words
In the navigation I would like to remove the space in between two words in the contentpagename
For instance home page.php needs to be homepage.php
Preferably dynamically thanks
In the navigation I would like to remove the space in between two words in the contentpagename
For instance home page.php needs to be homepage.php
Preferably dynamically thanks
use the str_replace function.
str_replace(" ", "", "home page.php")
if you provide the code that is outputting "home page.php" I can tell you how to add the str_replace function to it.
hello here is what iam trying to do
<?php echo $row_WADApg1_gallery_images["Gallery"]; ?>
echos out Print Media
i would like to be PrintMedia
str_replace(" ", "", "Print Media")
str_replace(" ", "", $row_WADApg1_gallery_images["Gallery"]);
Cheers
Ian
Will this echo the Colomn in gallery
<?php echo str_replace(" ", "", $row_WADApg1_gallery_images["Gallery"]); ?>
it will echo the Gallery column from the WADApg1_gallery_images recordset, and will use the str_replace function to remove any blank spaces.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.