Welcome Guest, Not a member yet? Register   Sign In
passing name instead of id
#5

(This post was last modified: 10-25-2019, 10:29 AM by manigopal.)

is this correct to pass the value ?

@Controller (Movies_genre.php) :
following lines only,
public function index($genre_type=NULL)

$data['movies_by_genre'] = $this->Model_movie_genre->movies_by_genre($genre_type);

I have

Error received :

A PHP Error was encountered

Severity: Notice

Message: Undefined index: movie_genre

Filename: views/view_movies_genre.php

Line Number: 13

Backtrace:

File: C:\xampp\htdocs\ciprojects\showtime\application\views\view_movies_genre.php
Line: 13
Function: _error_handler

File: C:\xampp\htdocs\ciprojects\showtime\application\controllers\Movies_genre.php
Line: 36
Function: view

File: C:\xampp\htdocs\ciprojects\showtime\index.php
Line: 315
Function: require_once
A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/view_movies_genre.php

Line Number: 14

Backtrace:

File: C:\xampp\htdocs\ciprojects\showtime\application\views\view_movies_genre.php
Line: 14
Function: _error_handler

File: C:\xampp\htdocs\ciprojects\showtime\application\controllers\Movies_genre.php
Line: 36
Function: view

File: C:\xampp\htdocs\ciprojects\showtime\index.php
Line: 315
Function: require_once
Reply


Messages In This Thread
passing name instead of id - by manigopal - 10-23-2019, 08:39 PM
RE: passing name instead of id - by Wouter60 - 10-24-2019, 05:05 AM
RE: passing name instead of id - by manigopal - 10-24-2019, 05:31 AM
RE: passing name instead of id - by Wouter60 - 10-24-2019, 06:26 AM
RE: passing name instead of id - by manigopal - 10-25-2019, 10:26 AM
RE: passing name instead of id - by manigopal - 10-25-2019, 07:58 PM
Added Pagination - by manigopal - 10-25-2019, 11:59 PM
RE: passing name instead of id - by Wouter60 - 10-26-2019, 01:30 AM
RE: passing name instead of id - by manigopal - 10-26-2019, 01:44 AM
RE: passing name instead of id - by Wouter60 - 10-26-2019, 01:58 AM
RE: passing name instead of id - by manigopal - 10-26-2019, 02:01 AM
RE: passing name instead of id - by Wouter60 - 10-26-2019, 02:30 AM
RE: passing name instead of id - by manigopal - 10-26-2019, 07:18 AM
RE: passing name instead of id - by Wouter60 - 10-26-2019, 08:48 AM
RE: passing name instead of id - by manigopal - 10-26-2019, 09:02 AM
RE: passing name instead of id - by manigopal - 10-26-2019, 10:24 PM
RE: passing name instead of id - by manigopal - 10-27-2019, 01:07 AM
RE: passing name instead of id - by Wouter60 - 10-27-2019, 04:48 AM
RE: passing name instead of id - by manigopal - 10-27-2019, 07:16 AM
RE: passing name instead of id - by Wouter60 - 10-27-2019, 07:44 AM
RE: passing name instead of id - by manigopal - 10-27-2019, 08:04 AM
RE: passing name instead of id - by manigopal - 10-28-2019, 03:27 AM
RE: passing name instead of id - by Wouter60 - 10-28-2019, 10:50 AM
RE: passing name instead of id - by manigopal - 10-28-2019, 10:21 PM
RE: passing name instead of id - by wdeda - 12-28-2019, 05:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB