escaping forward slashes

Associate
Joined
11 Oct 2008
Posts
268
Hey, i have managed to escape most of this echo but I cannot figure out the forward slashes that come before and after $dir.

Anybody know how i escape forward slashes.

Code:
echo "[ - <a href='". /$dir/ ."game_play.php'>Play</a> - ]"; // Displayed if connection OK.
 
Back
Top Bottom