That error message means there is output on the page before the session_start() function is called. the error is reporting the problem at line 10.
it sounds like you did not move the code all the way up the page to line 1 or you left blank lines in place.
see this post for details
for the detail link, they will need to include the search parameters to fire the data assist search bejhavior, also the variable needs to be renamed to S_RazorNumber
<a href="?S_RazorNumber=<?php echo(rawurlencode($row_WADAretailchart['RazorNumber'])); ?>&Search.x=53&Search.y=14&Search=Search#!/page_more27" >
just before the detail output, the recordset also needs to be reset to the beginning, because the results code would have looped over it already
$row_WADAretailchart = mysql_fetch_assoc($WADAretailchart);