Welcome Guest, Not a member yet? Register   Sign In
Getting a users name from id
#4

[eluser]egunay[/eluser]
Hello,

@mattpointblank, yes it is exactly as you said but the point is I don't know how to join them =)

Can you tell me how to do that?

Anyway,

This is my controller:
Code:
class Lmp extends MY_Controller {
.... etc...
$entries = $this->db->query("SELECT * FROM posts");
$content['posts'] = $entries->result_array();
$this->parser->parse("/content", $content);
....

And my view is:
Code:
....
...
..
{posts}
<p>{title}</p>
<p>{uid}</p>
<hr />
{/posts}
....
...
..


Messages In This Thread
Getting a users name from id - by El Forum - 04-26-2010, 05:15 AM
Getting a users name from id - by El Forum - 04-27-2010, 12:15 AM
Getting a users name from id - by El Forum - 04-27-2010, 02:20 AM
Getting a users name from id - by El Forum - 04-28-2010, 01:02 PM
Getting a users name from id - by El Forum - 04-28-2010, 02:26 PM
Getting a users name from id - by El Forum - 04-28-2010, 02:42 PM
Getting a users name from id - by El Forum - 04-29-2010, 04:22 AM
Getting a users name from id - by El Forum - 04-29-2010, 04:50 AM
Getting a users name from id - by El Forum - 04-29-2010, 12:15 PM
Getting a users name from id - by El Forum - 04-29-2010, 12:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB