views:

149

answers:

4

hi,

i need to develope a widget (php based) for my client. client wants to display his product prices in it. i have no idea how to make widgets in php? can any one help...

thanks.

A: 

where do you want to put that widget? on another site on your client? if so, all you have to do is create a file, something like this: <?php echo "<div>this is my product widget</div>"; ?>

save it to something like: widget1.php

then, call it in another site in an iframe:

<iframe src='http://where.you.host.your.widget.com/widget1.php' width='200' height='200'>

Hope that help.

silent
A: 

I need to develop widgets like igoogle, can anyone help me...?

Mohanraj
A: 

just google on codeproject there is a link for developing igoogle like site using ajax by pageflake developer ...

Dorjay