PHP Classes

Suggestion: DEFINE

Recommend this page to a friend!

      AJAX Drop-down  >  All threads  >  Suggestion: DEFINE  >  (Un) Subscribe thread alerts  
Subject:Suggestion: DEFINE
Summary:suggestion
Messages:2
Author:Patricio Priede
Date:2007-01-24 13:41:23
Update:2007-11-20 09:28:44
 

  1. Suggestion: DEFINE   Reply   Report abuse  
Picture of Patricio Priede Patricio Priede - 2007-01-24 13:41:23
Great Script
I finnaly learn how AJAX Works, and the step to create a script of my own with this simple code

Well
My suggestion is to change the line 31
$this->table = "tblcategories";


And add
DEFINE ('DB_TABLE', 'tblcategories');
also change the line to
$this->table = DB_TABLE;



To have all the DB variables in one place.

  2. Re: Suggestion: DEFINE   Reply   Report abuse  
Picture of Neeraj Thakur Neeraj Thakur - 2007-11-20 09:28:44 - In reply to message 1 from Patricio Priede
Thanks dear i ll keep this in mind.

Thanks again