Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter embedding database results in different html tags ( newbie here.. )
#4

[eluser]Avatar[/eluser]
in your views if you use
Code:
<?php $blah?>
wont work, have to use either:
Code:
<?=$blah?>
which does echo with semicolon or do this:
Code:
<?php echo $blah; ?>
foreach
Code:
<?php foreach($blah->result() as $poop)?>
<?=$poop?>
<?php endforeach;?>
hope this helps


Messages In This Thread
CodeIgniter embedding database results in different html tags ( newbie here.. ) - by El Forum - 03-07-2008, 02:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB