![]() |
Need some help with a hack im making. : (
Okay, so I'm making a hack and I need to use some of PHP OO features
Ie PHP Code:
Ie PHP Code:
HTML Code:
->title the PHP Code:
|
Looks like you're not using OOP correctly. An object itself can't be an array. But it's properties can.
So $contents[$i]->title is technically impossible. |
I don't know if I'm explaining it correctly. The code works when I hardcode it, but when I put it in templates it doesn't work.
I'm using someones elses code and integrating it with vb I then use a simple form asking for a zip code and access all the data with examples I used from my first post. Again it works when I hardcode it. :ermm: |
Isn't this what you're looking for:
PHP Code:
|
^^^
I'll try that right now. :up: |
All times are GMT. The time now is 03:06 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|