I know this is probably really simple, but it's driving me up a wall. I'm trying to convert one of the results from a DB query into a hyperlink but I kepp getting parse errors.
I've tried every combination I can think of but still get the same out come.
Here's the code:
<?
for($i = 0; $i < $numofrows; $i++) {
$row = mysql_fetch_array($result); //get a row from our result set
if($i % 2) { //this means if there is a remainder
echo "<TR bgcolor=\"white\">\n";
} else { //if there isn't a remainder we will do the else
echo "<TR bgcolor=\"#cccccc\">\n";
}
echo '<TD>' .$row['film_title'].'<br>'.$row['film_details']."<br><a href=".$row["film_link"].">" Watch'</a></TD>\n';
echo "</TR>\n";
}
//now let's close the table and be done with it
echo "</TABLE>\n";
?>
Any help would be appreciated.
Thanks
Kenny K