Re: How to add a new event to the kronolith_events using a PHP script

Michael J Rubinsky <[email protected]> Sat, 16 Sep 2017 13:15:42 +0000
Newsgroups gmane.comp.horde.kronolith
Message-ID <20170916131542.Horde.N6NS7HeCILWs_1M__IHJcGK@h4.theupstairsroom.com>
Quoting Jan Schneider <[email protected]>:

> Zitat von Ferdinand Gruber <[email protected]>:
>
>> 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: [email protected]



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject

-- 
kronolith mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
(unnamed) (application/pgp-keys, 9.1 KB) - not displayed
signature.asc (application/pgp-signature, 821 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4

iQIcBAABAgAGBQJZvSP/AAoJEJGSgkbRsxbbgaoP/jjK0VaCasAeEgNUFfGo/64I
TRZxwCnstTwCcffzYZwQVKvoK3jHDf7PTj3BD7+8dOYEwLlLkLmdOl4SrsBWhy6C
pSok/WG0QINEpyW4JobA+EO28tErBihH0Q1HTWxnfQ/ckq3aLuWmLO2IxhGsESAE
BfoKgROlNf+IrDzxL5YmJoY3/C7U2/3E1zZg85jGKYBjb+Yxg5CbUrxPqY95gzKB
MP7DLU24oJ6y7adYmcZCDLjugrdIZpOR7wpOVuNnHZSqqOkSxficTPnOAZDxROO4
QGFofeEgJF3bPmmHzP+ox11E1RXX+n/eZBdV0Wr7XLnNU6UV2d/S27jpigc4lOFz
y8Bff4h/IB6QOuBa52q2DTDsvHATQcqGHZc8cqzhv7r3M3k4M2iQdU3+nig+QcGI
XQygpGnyTYivqLspACuquCzDek+f6OGMDBvzl0H8yYGA8TMLKJqVj7JRXN/DL9pW
3c3p3d3KCas7B6tsp/oJNwI6M/aX9C97W+rG8hne06FatcIloNBuTI6ppxRwT7Wh
NCvP6FgFnZWdNgFhHGwrza2mkuzZVWdAg86J4ipSOr9Qde6+wXxrX4G9WFDHRGPi
VJj4R7xoR76DCbqhD5iSIk7HMTXZPjt8x/Ul2glJuHBuKp14rZWjY1yazsRg5mIj
vg8u4NZSEa8RbHm26OLF
=y1+t
-----END PGP SIGNATURE-----