Announcement

Collapse
No announcement yet.

Cron Job Error ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cron Job Error ?

    My Code Line;
    PHP Code:
    $levelUp .= $result " >= " $calculation_value " " $query_type " "
    PHP Code:
    $levelUpControl = eval("return " $levelUp ";"); 
    I'm get this error;
    Code:
    eval()'d code line 1 {"exception":"[object] (ParseError(code: 0): syntax error, unexpected '800' (T_LNUMBER), expecting ';'
    Please Help me

  • #2
    Hi,
    it is your code error but not EspoCRM...
    what does $levelUp variable contain?

    Comment


    • #3
      Originally posted by tanya View Post
      Hi,
      it is your code error but not EspoCRM...
      what does $levelUp variable contain?
      Code:
      $result = 5000;
      $calculation_value = 6000;
      $query_type = OR;
      
      $levelUp .= $result . " >= " . $calculation_value . " " . $query_type . " ";
      loop in foreach

      Comment

      Working...
      X