Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   PHP (http://www.programmingforums.org/forum29.html)
-   -   I have a question about writing Widgets ? (http://www.programmingforums.org/showthread.php?t=11142)

boraciner Aug 22nd, 2006 5:47 AM

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 Aug 22nd, 2006 7:26 AM

ok.. I found a soultion.. I always find mistakes after I write here :)

thanks..

v0id Aug 22nd, 2006 7:36 AM

What about show us the solutions? Maybe there's someone out there, there had the same problem. After all you asked for help at the beginning and expected us to answer and now after you find the solutions, you just go.

boraciner Aug 24th, 2006 4:38 AM

" has to be \" when it is in a string..


All times are GMT -5. The time now is 12:24 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC