Announcement

Collapse
No announcement yet.

Code execution behind the custom button?

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

  • Code execution behind the custom button?

    Dear Forum Members,

    On a single record form I've added a custom button with the below code:
    ----------------------------
    echo "<img src='../_lib/img/processing.gif'>";
    for($i=0;$i<2000;$i++)
    {
    sc_exec_sql("a insert statement ";
    }
    ----------------------------

    The processing image is showing if I remove the insert statement but not showing with statement. I need the processing info urgently if anyone can figureout the issue would b very helpful for me.

    Thanks

    Rajibul
    __________________
    S. M. Rajibul Huda
    CEO & Founder
    www.efficienterp.com

  • #2
    sc_exec_sql("a insert statement "; a missing ) ???

    Comment


    • #3
      Hello RR,

      I just mean to say there is an insert statement which is working fine . echo also working but after executing the whole script.

      Thanks
      Rajibul
      __________________
      S. M. Rajibul Huda
      CEO & Founder
      www.efficienterp.com

      Comment


      • #4
        I would like to add a processing notification (as like as one showing on navigation) on custom php button for single record form. Its urgent.
        __________________
        S. M. Rajibul Huda
        CEO & Founder
        www.efficienterp.com

        Comment


        • #5
          Is there anyone to help?
          __________________
          S. M. Rajibul Huda
          CEO & Founder
          www.efficienterp.com

          Comment

          Working...
          X