[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ic] sql insert/update with interchange?


Hello again.

I noticed it's possible to write to my database from within an
interchange page (to save values passed by a form for example) by
'abusing' the query tag:
--
[query sql=|insert into mytable (myvalue) values(13) | ]  [/query]
--

It works, no doubt about that, but I can't imagine it was intended to
be that way.
The query.../query tag seems to return '1' btw, (which appears as
output on my page)

So, is there some special interchange tag for writing to a database?
Or maybe interchange provides a ready-to-use DBI-handle which can be
accessed from within a [perl]...[/perl ] statement?

thx in advance.

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.