Search code examples
phpcodeigniterhrefhtml-table

link inside php variable and table


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.


Solution

  • <td><a href ="<? echo $row->courier_url; ?>"><? echo $row->courier_url; ?> </a></td>