• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Anchor problem

#1
[eluser]satterle[/eluser]
I have two views with hard-coded anchor tags (not using the URL helper) populated with data from a query. The problem is that in one case, the resulting link follows the CI format (http://www.mysite.com/index.php/co/co_vi...ersite.com) while in the other case, the link is normal (http://www.othersite.com).

The only real difference is that the first one query returns $query->row_array() while the second returns $query->result().

Can't figure it out. Help much appreciated.

#2
[eluser]Pascal Kriete[/eluser]
Double check to make sure they both specify the protocol (as in, http:// ).

#3
[eluser]satterle[/eluser]
Thanks. That did it.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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