url problem

Hello

because when I create a link I added the address of the plugin?

Example

I have a plugin called plugin1 (/ mod/plugin1)

if within say you print this:

$ AREA2 .= "<a href='www.google.com'&gt; link1 </ a>";

    
$ Body = elgg_view_layout ('two_column_left_sidebar', $ area1, $ AREA2)
the link that creates call:
http://localhost/elgg-1.7.4/mod/plugin1/www.google.com

when I just want to call www.google.com

thanks and sorry for my english

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking