Welcome Guest, Not a member yet? Register   Sign In
echo anchor not working
#1

[eluser]bill19[/eluser]
Hi everyone,

I am trying to use the url helpers anchor function to generate a clickable link in my form
( as per http://ellislab.com/codeigniter/user-gui...elper.html ), but its not working.

Here is my form:

Code:
<html>
<head>
<title>my form</title>
</head>
<body>

<h3>Your form was successfully submitted!</h3>

echo anchor('news/local/123', 'My News', 'title="News title"');


&lt;/body&gt;
&lt;/html&gt;

The output looks like:

Quote:Your form was successfully submitted!
echo anchor('news/local/123', 'My News', 'title="News title"');

what am i doing wrong?

Thanks in advance,

Bill
#2

[eluser]vrencianz[/eluser]
Code:
&lt;?php
echo anchor('news/local/123', 'My News', 'title="News title"');
?&gt;
#3

[eluser]bill19[/eluser]
Thank you!




Theme © iAndrew 2016 - Forum software by © MyBB