0
echo "<td align=center style='width: 30px'><strong><a href='' . $link1 . '' style='color: red'>CID</a></strong></td>";

Is this part properly coded

<a href='' . $link1 . '' style='color: red'>

I tried like

<a href="' . $link1 . '" style='color: red'>

but not working.

Pls advise.

2
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by lordx78
0
echo "<td align=center style=\"width: 30px\"><strong><a href=\"$link1\" style=\"color: red\">CID</a></strong></td>";
0

another way to tackle it would be...

echo '<td align=center style="width: 30px"><strong><a href="' . $link1 . '" style="color: red">CID</a></strong></td>';
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.