# PHP Class Problem HELP!

**URL:** https://forum.kirupa.com/t/php-class-problem-help/245669
**Category:** Uncategorized
**Created:** [December 2, 2007, 10:06pm UTC](https://forum.kirupa.com/t/php-class-problem-help/245669 "2007-12-02T22:06:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nvidia](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@nvidia](https://forum.kirupa.com/u/nvidia)
#### Post date: [December 2, 2007, 10:06pm UTC](https://forum.kirupa.com/t/php-class-problem-help/245669/1 "2007-12-02T22:06:55Z")

</div>

Hi i am creating a simple class with code below:

```php

 
 
<?php 
class classname 
{ 
     
    function __constructor($param) 
    { 
     
    echo "Constructor called with parameter $param <br />"; 
    } 
     
     
} 

$a = new classname('First'); 
$b = new classname('Second'); 
$c = new classname(); 

?> 

```

I am using WAMP and using Komodo edit. However, everytime i want to view the output in my browser, nothing shows up. Can somebody tell me why??

Thanks
