PHP Classes

bug code class.table.php

Recommend this page to a friend!

      RA PHP MySQL CRUD class  >  All threads  >  bug code class.table.php  >  (Un) Subscribe thread alerts  
Subject:bug code class.table.php
Summary:To avoid a warning
Messages:2
Author:Gavin Wilson
Date:2019-06-12 21:13:53
 

  1. bug code class.table.php   Reply   Report abuse  
Picture of Gavin Wilson Gavin Wilson - 2019-06-12 21:13:53
class.table.php line 80

I suggest to change this line:
if (trim.$this -> table_name == '') { return FALSE; }


in this:
if (trim($this -> table_name == '')) { return FALSE; }

  2. Re: bug code class.table.php   Reply   Report abuse  
Picture of Rafal Antczak Rafal Antczak - 2019-07-02 22:26:46 - In reply to message 1 from Gavin Wilson
Of, course :-) My mistake. Thank you for information