Object return problem

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

qadeerbk
New php-forum User
New php-forum User
Posts: 7
Joined: Sun Sep 29, 2002 9:36 am

Object return problem

Postby qadeerbk » Sat Oct 05, 2002 3:38 am

I have an application in which, I have a page called Detail.php which tries to display a detailed page when I click on some short info link of some user.
I am trying to store this detailed info in an object,

The program flow is like

detail.php --->DbUtitliy.php---->Application utlity.

Application utility class creates a Object from the result that was sent by DbUtility class, (The cretaed Object is OK) then Aplication Utility returns this Object to DbUtility and DbUtility return this Object to detail.php

but this object is not tranfered from Applicationutility to BdUtility

Is there any special method to pass object from one class to other ?

Please help

vvlad
New php-forum User
New php-forum User
Posts: 3
Joined: Fri Sep 06, 2002 3:21 am

Re: Object return problem

Postby vvlad » Sun Oct 13, 2002 11:37 pm

Hi
please explain how you send objects and vars betwean your files

basicaly there is no special way to transfer objects
but in your case, I think, the hashes (nested if needed) will be easier solution


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 3 guests