[kronolith] How to add a new event to the kronolith_events using a PHP script

Michael J Rubinsky mrubinsk at horde.org
Sat Sep 16 13:15:42 UTC 2017


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Ferdinand Gruber <fer.grub at yahoo.de>:
>
>> Hi,
>>
>> I made a PHP script to access the mysql datatable"  
>> kronolith_events" of the horde database. Using that script I am  
>> able to change data and save the changes.
>> How can I set the primary key value "event_id" of a new event?
>>
>> Thank you for answer.
>>
>> -- 
>> Regards from Austria
>> Ferdinand Gruber
>>
>>
>> .
>
> It's just a random ID.

Just be aware that if you are using any type of synchronization with  
Kronolith, manually adding events in this manner will prevent the sync  
engine from seeing them. It would be better to use Krnolith's API for  
such tasks.


> -- 
> Jan Schneider
> The Horde Project
> https://www.horde.org/
>
> -- 
> kronolith mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 9272 bytes
Desc: PGP Public Key
URL: <https://lists.horde.org/archives/kronolith/attachments/20170916/408c4334/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 821 bytes
Desc: PGP Digital Signature
URL: <https://lists.horde.org/archives/kronolith/attachments/20170916/408c4334/attachment-0001.bin>


More information about the kronolith mailing list