显示链接作为超链接启用输出从PHP页面中的mysql但我收到错误

If I execute this I am getting output properly:

echo "<a href="'.$elink.'">'.$elink.'</a>";

but when I want to display my output in a table column format I am not able to insert:

echo "<td width='200'>" <a href="'.$elink.'">'.$elink.'</a>   "</td>";
or
echo "<td width='200'>" "<a href="'.$elink.'">'.$elink.'</a>"   "</td>";
or
echo "<td width='200'>" '<a href="'.$elink.'">'.$elink.'</a>   "</td>";

Please correct the syntax errors.

echo '<td width="200">' .  '<a href="'.$elink.'">'.$elink.'</a></td>';

Looks like you have mismatched quotes. But I would use sprintf.

echo sprintf("<td width='200'><a href='%1$s'>%1$s</a></td>", $elink);

First off you quotes are messed up. They should look like this:

echo "<td width='200'> <a href='".$elink."'>".$elink."</a></td>";

Correct your string format

echo '<td width="200"><a href="'. $elink. '">' . $elink . '</a></td>';

I suggest you to use the attribute style (style="width:200px;") instead the width attribute. Remember to Url Encode the parameters contained in the href attribute.