Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: array of data
Post: RE: array of data

when i pass $rows to the view $this->load->view('following',$rows); it still shows a undefined variable rows error in the view.
4,530 Views
4 Replies
04-14-2017, 06:05 AM
anmol
    Thread: array of data
Post: array of data

i am very new to codeigniter and struggling with the syntax. i have retrieved the data from the database and the array have more thean one rows in it now i want to foreach loop each entry one by one,...
4,530 Views
4 Replies
04-14-2017, 02:51 AM
anmol
    Thread: friends and users
Post: friends and users

-2 down vote favorite (http://stackoverflow.com/questions/43375046/values-of-logged-in-users#) i am making a friend system for a social networking kind of website.i have completed the search pa...
1,691 Views
1 Replies
04-12-2017, 11:21 AM
anmol
    Thread: empty variable
Post: empty variable

i want the credentials of a logged in user to display in his profile.like name and other values but the $username variable is for somereasons showing nothing at all.it is empty and displays no value a...
1,040 Views
0 Replies
04-10-2017, 08:10 AM
anmol
    Thread: getting information of logged in user
Post: RE: getting information of logged in user

ciadmin Wrote: (04-09-2017, 11:10 AM) -- TL;DR see https://forum.codeigniter.com/misc.php?action=help&hid=7 -- what does that mean??
2,931 Views
3 Replies
04-09-2017, 11:25 AM
anmol
    Thread: getting information of logged in user
Post: getting information of logged in user

i want to get the information of logged in user from the database and display it in the profile view that i have made for them.for example username email etc.but i am not able to do so.my code is this...
2,931 Views
3 Replies
04-09-2017, 11:04 AM
anmol
    Thread: user profile
Post: user profile

i can't upload a photo and save into my databse my controller is Code: --
1,336 Views
1 Replies
04-09-2017, 10:11 AM
anmol
    Thread: user profile
Post: user profile

i am a complete beginner in codeigniter and try to learn the basics of this framework.i made a login form and signup form.now i was thinking of making a user profile.i want the logged in username that...
2,489 Views
1 Replies
04-09-2017, 06:17 AM
anmol
    Thread: problem with $posts variable
Post: RE: problem with $posts variable

sir can you plz visit this forum,i have tried to make things a bit clearer over.here,it woul be a great help for me. https://forum.codeigniter.com/thread-67686-post-342031.html#pid342031
4,142 Views
5 Replies
03-26-2017, 12:08 AM
anmol
    Thread: undefined variable
Post: RE: undefined variable

sorry i had changed that after writing the question here.but i had changed that to public function view($slug=NULL) { $data['post']=$this->Post_model->get_posts($slug); if(empty($data['post'])){...
7,286 Views
7 Replies
03-25-2017, 11:58 PM
anmol
    Thread: undefined variable
Post: RE: undefined variable

and moreover $posts have been defined in the index function public function index(){ $data['title']='Latest Posts'; $data['posts']=$this->Post_model->get_posts(); $this->load->view('...
7,286 Views
7 Replies
03-25-2017, 11:56 PM
anmol
    Thread: undefined variable
Post: RE: undefined variable

no that's is not the way i was doing it.i am using index view, for all the posts and route " '/posts/' .$post['slug']);"for individual blog posts.on clicking read more, it redirects to the individual...
7,286 Views
7 Replies
03-25-2017, 11:35 PM
anmol
    Thread: problem with $posts variable
Post: problem with $posts variable

i am a beginner in codeigniter,i am trying to make a crud website for learning website but i am facing this error. A PHP Error was encountered Severity: Notice Message: Undefined variable: posts F...
4,142 Views
5 Replies
03-25-2017, 11:05 PM
anmol
    Thread: undefined variable
Post: undefined variable

i am actually make a basic crud website,i am a beginner in codeigniter.i am following a youtube channel.and copying his exact code and still facing a problem. my model is Code: --     o     Posted...
7,286 Views
7 Replies
03-25-2017, 12:39 PM
anmol
    Thread: route not working.
Post: route not working.

i am a beginner in codeigniter i have just made one controller user.php and changed my default route to user.but its not working. my route.php is $route['default_controller'] = "user"; $route['404_...
2,761 Views
2 Replies
03-16-2017, 01:33 PM
anmol

Theme © iAndrew 2016 - Forum software by © MyBB