Welcome Guest, Not a member yet? Register   Sign In
Trying to pass variable from 1 Function to Another to Put in Array within same Model
#6

[eluser]jshultz[/eluser]
I'm still receiving this though:

Severity: Notice

Message: Undefined index: id

Filename: models/gallery_model.php

Line Number: 48

i've checked my sql query and it should work. when i run the query manually i get the expected result.

This line should run the function: $bus_id = $this->get_bus_id();

and this line should take the value and store it in the array: 'busid'=> $bus_id['id'],

I've tried it without ['id'] and i got the same results.


Messages In This Thread
Trying to pass variable from 1 Function to Another to Put in Array within same Model - by El Forum - 05-24-2010, 01:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB