Welcome Guest, Not a member yet? Register   Sign In
get id user
#1

[eluser]Gabi3xz[/eluser]
How get user_id from datebase for used here?
Code:
$rowArticle = array('article_author' => $this->input->post('user_id'));
#2

[eluser]sanir[/eluser]
hi

Please elebrate your question more.

Thanks,
Nasir Ranta
#3

[eluser]Gabi3xz[/eluser]
I want get user_id from datebase table 'users' for used.
#4

[eluser]sanir[/eluser]
Your code
$rowArticle = array('article_author' => $this->input->post('user_id'));

Why you get user_id while you already have user_id "$this->input->post('user_id')"

Thanks,
Nasir Ranta
#5

[eluser]Gabi3xz[/eluser]
Yes i have $this->input->post(‘user_id’)) but not running because not appeal to datebase.
how appeal datebase for function this $this->input->post('user_id'))?




Theme © iAndrew 2016 - Forum software by © MyBB