Welcome, Guest
Username: Password: Remember me

TOPIC: surveyid

surveyid 2 years 5 months ago #74529

  • sandu
  • sandu's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
How can i change the surveyid not to be numeric, because i usw this with drupal, and i what to display some fields like this $row->84343x1x1

it seems it doesn't work because it's a number
The administrator has disabled public write access.

Re: surveyid 2 years 5 months ago #74544

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
The problem probably is caused by invalid code and not by the survey ID being a number (which you can't change).

Did you try something like
$temp = "84343x1x1";
$row->$temp;

Please post the whole code snippet if you need further help.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: surveyid 2 years 5 months ago #74868

  • tacman1123
  • tacman1123's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 125
  • Karma: 1
Try

$row->{'84343x1x1'}
The administrator has disabled public write access.

Re: surveyid 2 years 5 months ago #74916

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
Problem solved?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.435 seconds
Donation Image