Welcome Guest, Not a member yet? Register   Sign In
CI 2.1.3 :: heading issue ?
#1

[eluser]jurlan[/eluser]
hi all.

I'm using this code

Code:
<?php echo(heading('Title', 2, 'class="title"'); ?>

But when I look at th code it renders as

Code:
<h2 title>Title</h2>

Am I being blind, stupid, overlooking something??

Thanks for any replies!
/jurlan
#2

[eluser]LuckyFella73[/eluser]
You didn't close your echo bracket. You can leave it btw.:

Code:
echo heading('Title', 2, 'class="title"');
#3

[eluser]noslen1[/eluser]
Update your CI.
Works in 2.1.3 Wink

EDIT : Guess I am the one blind AND stupid... Confusedhut:
#4

[eluser]jurlan[/eluser]
[quote author="LuckyFella73" date="1350980927"]You didn't close your echo bracket. You can leave it btw.:

Code:
echo heading('Title', 2, 'class="title"');
[/quote]

OK.. blind and stupid it is ;-)
Thanks!
#5

[eluser]jurlan[/eluser]
[quote author="noslen1" date="1350980954"]Update your CI.
Works in 2.1.3 Wink

EDIT : Guess I am the one blind AND stupid... Confusedhut:[/quote]

;-)
#6

[eluser]LuckyFella73[/eluser]
LOL - no worries that happens to all of us (I hope ..) once in a while




Theme © iAndrew 2016 - Forum software by © MyBB