Re: [Refdb-users] cannot add records!
Status: Beta
Brought to you by:
mhoenicka
|
From: Markus H. <mar...@mh...> - 2004-01-22 21:13:51
|
Hi Matt, Matt Price writes: > welll.. I guess I need to figure out whether I most want to learn c, XSLT, > or Perl...! I actually have an interim solution in PHP that I should > be able to throw together pretty quickly (stealing someone else's > code, and adapting it to the refdb db structure; this will be > mysql-specific, but should be readily adaptable to PostgreSQL with a > quick pattern-replace on the php code). When it's more or > less working I'll let folks know. > I think I've mentioned it previously, but I wouldn't access the database directly from your PHP code. In order to make best use of the data you'd have to implement a lot of wacky SQL queries which are now nicely encapsulated in refdbd. Instead you should use the Perl client library, if possible (can PHP do this?), or call the command-line clients from your PHP code via system(). The Emacs front-end does the latter btw and works quite well. regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |