CodeIgniter Forums

Full Version: Anchor problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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.

El Forum

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

El Forum

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