http://www.imdb.com/find?s=tt&q=Film%2520Name. I need modify the ereg so that it replaces the %2520s in search url with a '+' signs.
<tr><td width="20%" class="datacell">IMDb:</td><td width="70%" class="datacell"><a href="http://us.imdb.com/find?s=tt&q=<?php
if (ereg ("(.*) \(([0-9]{4})\)", $movie[film_name], $regs)) {
echo "$regs[1]";
} else {
echo $movie[film_name];
}
?>" target="_blank">IMDb</a></td></tr>
Edited by Maynard, 26 March 2010 - 07:34 PM.





Contributor












