PHP Classes

Example

Recommend this page to a friend!

      Clear Framework  >  All threads  >  Example  >  (Un) Subscribe thread alerts  
Subject:Example
Summary:please supply example of using these class in an application
Messages:4
Author:Roy D Baird
Date:2015-11-08 17:44:48
 

  1. Example   Reply   Report abuse  
Picture of Roy D Baird Roy D Baird - 2015-11-08 17:44:48
It would be very handy to have an example of how these classes all fit together to provide a CRUD application.

  2. Re: Example   Reply   Report abuse  
Picture of Juraj Puchký Juraj Puchký - 2015-11-09 11:25:30 - In reply to message 1 from Roy D Baird
Example with simple application will be in side next commit.

  3. Re: Example   Reply   Report abuse  
Picture of Stefan Drugda Stefan Drugda - 2015-11-10 09:22:49 - In reply to message 2 from Juraj Puchký
config.php - Is it not needed?
db name ... hostname..

  4. Re: Example   Reply   Report abuse  
Picture of Juraj Puchký Juraj Puchký - 2015-11-10 10:13:07 - In reply to message 3 from Stefan Drugda
Sample config.php can look like following.

define('DB_HOST','localhost');
define('DB_USER','');
define('DB_TABLE_PREFIX','');
define('DB_PASSWORD','');
define('DB_NAME','');
define('ADMIN_EMAIL','');
define('URL_BASE','');