NYCPHP Meetup

NYPHP.org

[nycphp-talk] Site dies when class calls this method: no DIE statement. HELP

Phil Powell soazine at erols.com
Sun Oct 5 22:41:38 EDT 2003


   function setTableStr($tableRefName) { // VOID "METHOD" SEE NOTE BELOW
    /*-----------------------------------------------------------------------------
      This function will set the class property $this->tableStr to the appropriate
      table name depending upon the scope of that which is calling it
    -------------------------------------------------------------------------------*/
    $this->tableStr = 'nnet_table_';
    $this->tableStr .= (strcmp(strtolower($tableRefName), 'head') == 0) ? 'head' : 'line';
   }

The moment this method in the Betaling class is called by another method in the Betaling class, insert_table_line(), everything just dies.  No error statement, no HTML display, no nothing, just a complete nothingness!!

This method is important to determine which table I will be doing insertion, and it's all the code I can provide that might make sense, I'm sorry.  If you need more I am not even sure what I can provide for you.  But honestly, I can't explain it better than the class method just.. dies.

Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20031005/5a2a1fd1/attachment.html>


More information about the talk mailing list