Community discussions

MUM Europe 2020
 
jalokim
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Thu Dec 07, 2006 1:39 pm
Location: PL, Tychy
Contact:

Editing values in /pap/secrets with PHP API

Fri Nov 28, 2008 6:01 am

Hi,

I would like to ask you is there any way to "edit" entries without giving it's ID.
For ex just by username? At this moment I can edit values in pap/secrets only by getting list of all (getall) parsing resoults (username that i'm looking for) and giving it id.

MJ
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5969
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Editing values in /pap/secrets with PHP API

Fri Nov 28, 2008 12:03 pm

The only way is to getall, parse and get the ID of an entry you want to edit.

Who is online

Users browsing this forum: No registered users and 23 guests