Page 1 of 1

inserting my own php code

Posted: Wed Nov 30, 2005 11:37 pm
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

Posted: Wed Nov 30, 2005 11:40 pm
by Guest
never mind, found one :)

Posted: Thu Dec 01, 2005 12:33 am
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

Posted: Thu Dec 01, 2005 12:05 pm
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