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

[eluser]-spy-[/eluser]
hi everyone, im having a problem with this code

<?=anchor('profile/history','History');?>

what if i want to insert(id) tag... how can i do that..

to look like this

li><a href="http://localhost/pupcomm/profile/history" title="History" id = "historynav">History</a></li>

hope you can help me..tnx in advance
#2

[eluser]Dr.Dan[/eluser]
echo anchor('profile/history', 'History', array('id ' => 'historynav'));
#3

[eluser]Seppo[/eluser]
&lt;?=anchor('profile/history','History',array('title' => 'History', 'id' => 'historynav'));?&gt;
#4

[eluser]Derek Allard[/eluser]
no need to double post spy... I've merged these threads to keep them together.
#5

[eluser]-spy-[/eluser]
sorry for the double post! tnx for the help guys...n_n




Theme © iAndrew 2016 - Forum software by © MyBB