![]() |
display without using echo - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: display without using echo (/showthread.php?tid=23416) |
display without using echo - El Forum - 10-09-2009 [eluser]nubianxp[/eluser] Quote:Is there a way to show data without using "echo"? Oops! Disregard the question above, looking at it again I think I got my logic wrong. LOL I was thinking in a WordPress kind of way. I forgot that it uses functions for that which is bloginfo(), IIRC. Thanks for the reply and sorry for the mess. ![]() display without using echo - El Forum - 10-09-2009 [eluser]Adamcbrz[/eluser] Well, I am not sure what you are trying to accomplish. The point of have the echo is to know that you want to output the variable otherwise you would out put every php variable with in you website. What is the point in not using the echo? If you just want to have short hand i think the Template Engine for CI might work. -Adam display without using echo - El Forum - 10-10-2009 [eluser]stuffradio[/eluser] You could go Code: <title><?=$site_name?></title> I really don't understand what you're trying to do. There is no way to output variable values without using "print" or "echo" or the other way I mentioned... not that I have heard of anyways, but there is nothing being saved by not writing "echo". |