CodeIgniter Forums
Anchor problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Anchor problem (/thread-9582.html)



Anchor problem - El Forum - 06-30-2008

[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_view/www.othersite.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.


Anchor problem - El Forum - 06-30-2008

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


Anchor problem - El Forum - 07-01-2008

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