inserting my own php code

Creating and modifying plugins.
Post Reply
jeff

inserting my own php code

Post by jeff »

hi

Im not sure if this warrants a plugin but I need to display the results of an sql query on the righ of the blog (like a plugin). I have already written the php code as an individual page. How can I get serendipity to display it. I was hoping for a plugin similar to 'HTML Nugget' but for php, a 'PHP Nugget'if you like. Is there anything like this available?

Thanks
Guest

Post by Guest »

never mind, found one :)
Guest

Post by Guest »

nope, it didnt work.

How can a get the out put of a php script into a sidebox? its only one line

Thanks
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You can try the "externalphp" sidebar plugin!

Remember to reset your SQL connection handles if you connect to a different DB in your PHP file!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply