• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Invalid URL display

#4
[eluser]InsiteFX[/eluser]
You can do something like below or use CodeIgniters anchor method.

Controller:
Code:
$data = array();

$data['link']      = 'https://www.facebook.com/someone';
$data['link_name'] = 'Click someone';

$this->load->view('your_view', $data);

html:
Code:
<a href="&lt;?php echo $link; ?&gt;">&lt;?php echo $link_name; ?&gt;</a>


Messages In This Thread
Invalid URL display - by El Forum - 08-13-2014, 04:59 AM
Invalid URL display - by El Forum - 08-13-2014, 05:28 AM
Invalid URL display - by El Forum - 08-13-2014, 08:07 AM
Invalid URL display - by El Forum - 08-13-2014, 10:08 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.