View Single Post
Old Aug 22nd, 2006, 4:47 AM   #1
boraciner
Programmer
 
boraciner's Avatar
 
Join Date: Nov 2005
Location: Turkey
Posts: 93
Rep Power: 3 boraciner is on a distinguished road
I have a question about writing Widgets ?

hi..

I'm trying to write a widget with php
<html>
<body>
<?php
class example
{

function write()
{

$ilk ="<p onMouseover="this.innerHTML='I am in :)'">Move the mouse over this text.</p>";
echo " $ilk ";
}

}


$aa= new example("aa");
$aa->write();

?>


</body>
</html>



It doesn't work .. .please help me .. thanks a lot..
boraciner is offline   Reply With Quote