Trouble creating an item with "category" and "app" fields

Answered

Comments

3 comments

  • Nick Worth

    I may have just figured it out myself, basically same idea I had in mind when using SETTYPE() but instead I used the FLOATVAL() and that seemed to make it integral and acceptable

    0
    Comment actions Permalink
  • Andreas Haugstrup Pedersen

    Quick note: To cast strings as ints it's a little faster to type:

    $grade = (int)$_POST['grade'];

     What type of field is the 'grade' field?

    0
    Comment actions Permalink
  • Mike Knoop

    BTW, what does '_Must be Integral' _mean? I assumed it wanted an integer value, but Integral and Integer are two completely different things if Iam not mistaken.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk