Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[v1.3] new class->function($arg) problem.
#1
Hi there, after reading the Classes and Functions thread from Tools and member projects, i seen a function named get_description() in a class named builds();

So here i am, trying to get the description of the "main" building.

I have something like this so far:
PHP Code:
<?php
  $build 
= new builds();
  echo 
$build->get_description("main"); // trried with get_description_bydbname("main") but it doesnt return a thing.
?>

Which prints out exactly nothing... anyone has any opinions about what I am doing wrong ?
Reply


Messages In This Thread
new class->function($arg) problem. - by eduvs - 31.12.2010, 16:19



Users browsing this thread: 1 Guest(s)