Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: scid / srid

scid / srid 1 Jahr 4 Monate her #94548

  • mimi
  • mimis Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 32
  • Karma: 0
Hi...

May i know what is 'srid' and 'scid' code in the database?
It is the name of column in tr_saved_control table.
Where is that code refer to?

TQ.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

scid / srid 1 Jahr 4 Monate her #94585

  • DenisChenu
  • DenisChenus Avatar
  • ONLINE
  • Moderator Lime
  • Beiträge: 6276
  • Dank erhalten: 801
  • Karma: 241
srid : lime_survey_XXXX.id
scid : UNIQUE KEY for lime_saved_control
Der Administrator hat öffentliche Schreibrechte deaktiviert.

scid / srid 1 Jahr 4 Monate her #94684

  • mimi
  • mimis Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 32
  • Karma: 0
I am sorry denisChenu..
i didnt mean to cross the topic.
for this topic, when i post, i didnt see my post, so then im trying to post at the other topic.
thats why...

Anyway.. thank u so much for answering.

But may i know,, the unique key for lime _saved_control are auto generated?
or can we generate it manually?
same thing for srid.

Thank u..
Der Administrator hat öffentliche Schreibrechte deaktiviert.

scid / srid 1 Jahr 4 Monate her #94685

  • DenisChenu
  • DenisChenus Avatar
  • ONLINE
  • Moderator Lime
  • Beiträge: 6276
  • Dank erhalten: 801
  • Karma: 241
Hello,

No not really, and it's a bad idea. The 2 id is in "AUTO_INCREMENT" then whe n you don't force, you're sure it will be unique.

You can do your own php script to set srid or scid, but need some php competence to do a good script.
And what for ? Maybe there are some best way to have another identification number.

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

scid / srid 1 Jahr 4 Monate her #94689

  • mimi
  • mimis Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 32
  • Karma: 0
can i just put any number into it?

bcause i have a big problem here where my system not go to the page where it should go.

the system is about updating. when student want to update their status, they will proceed to the page where it should b. and i have find out that the student data not save to the tr_saved_control table. that's why they cant proceed to the page where it should b.

so i were thinking that i can make the srid and scid code by myself...
Der Administrator hat öffentliche Schreibrechte deaktiviert.

scid / srid 1 Jahr 4 Monate her #94694

  • DenisChenu
  • DenisChenus Avatar
  • ONLINE
  • Moderator Lime
  • Beiträge: 6276
  • Dank erhalten: 801
  • Karma: 241
Think best is to use "token" with "Allow editing responses after completion?" to Yes.

The student need to only know is token, he can update his answers when needed.

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.136 Sekunden
Donation Image