Hi, I have written a code that take the GET contents of a URL , i.e after the ? sign and outputs it as a csv file.
eg - ....../xyz.php?str=<tr><td>c1</td><td>c2</td><td>c3..........c7</tr></td>
$input = $_GET['str'];
.........
............
......
output should be as - c1,c2,c3,c4.... so on
well , i have written a code for that and it works wonderfully except that if the url contains '&' and '#'(hidden fields) in the columns , the script malfunctions coz they act as delimiters.How do I take care of that? how to fetch the contents of the URL so that the & and # dont create a problem?
Please help..