I want to display my data with a link functionality inside the php tag
<td><a href ="<? print $row->courier_url;?>"></a></td>
this is my code, Its not working.
First off, remove the space between href = so it's href=. Your php code is actually valid, does $row->courier_url actually print anything? How is $row being defined?
Also, don't use shorthand <? php tags use the full <?php. It's bad practice to use the shorthand version.
Try:
<td><a href ="<?=$row->courier_url;?>">Link</a></td>
http://stackoverflow.com and not stackoverflow.com even better, <td><a href ="http://<?=$row->courier_url;?>">Link</a></td><a href ="http://<?=$row->courier_url;?>"> is changed if that is what you are asking.
a, it's working but you can't see it I guess.{$row->courier_url};and check for opening short tags, maybe better<?=than<? print. Also you need text to be clickedatag, at least.