![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Nov 2005
Location: Turkey
Posts: 93
Rep Power: 3
![]() |
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.. |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Nov 2005
Location: Turkey
Posts: 93
Rep Power: 3
![]() |
ok.. I found a soultion.. I always find mistakes after I write here
![]() thanks.. |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Apr 2006
Posts: 155
Rep Power: 3
![]() |
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.
__________________
-- v0id
|
|
|
|
|
|
#4 |
|
Programmer
Join Date: Nov 2005
Location: Turkey
Posts: 93
Rep Power: 3
![]() |
" has to be \" when it is in a string..
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Attitudes | Oddball | Coder's Corner Lounge | 29 | Mar 18th, 2006 9:34 PM |
| How to post a question | nnxion | C++ | 10 | Jun 3rd, 2005 11:53 AM |
| How to post a question | nnxion | C++ | 0 | Jun 3rd, 2005 8:55 AM |
| Question about writing this program | strider496 | C++ | 4 | Mar 24th, 2005 11:31 AM |
| Simple Writing to Files. Newbie Question | kiaran | C++ | 1 | Feb 8th, 2005 3:22 AM |