Welcome Guest, Not a member yet? Register   Sign In
same code in two functions
#1

[eluser]Mitja B.[/eluser]
i have some file news.php and view function news()

In it i have <?php $this->load->view("header"); ?>. In header i also have some sql code. Now i need in news function add code which is in header function. How i can make that this will not be necesary.


Messages In This Thread
same code in two functions - by El Forum - 10-15-2008, 02:36 AM
same code in two functions - by El Forum - 10-15-2008, 02:54 AM
same code in two functions - by El Forum - 10-15-2008, 12:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB