Hiya all, Worzel's got his thick head on today, and basically I've written a page that lists all the tables within an .xls and makes hrefs to them like:
for( $c=0; $c<count($tables); $c++)
{ //Gwah! I have to prepare the string for GETting
echo "<a href=\"$thisfile?filename=$filename&table=$tName\">";
echo "$tables[$c]</a><br>";
}
But now I've hit a snag with a table called 'UK & ROI$' - I know you've already seen the problem, Bargain Hunters, it's that ampersand and the spaces
Is there a php command to parse it up for me, or is it time to write a little routine?
Cheers all.