Hello everybody,
I'm trying to make a connection between CakePHP and Oracle with
configuration database:

class DATABASE_CONFIG {

        var $default = array(
                'driver' => 'oracle',
                'persistent' => false,
                'host' => 'localhost',
                'login' => 'hr',
                'password' => 'hr',
                'database' => 'xe',
                'prefix' => '',
        );

        var $test = array(
                'driver' => 'oracle',
                'persistent' => false,
                'host' => 'localhost',
                'login' => 'hr',
                'password' => 'hr',
                'database' => 'xe',
                'prefix' => '',
        );
}
 and it work with the message: Your database configuration file is
present.
But I don't know why I can't get the data
I have a table: posts(id,title,body),
and Model class: post.php
class Post extends AppModel{
    var $name='Post';
}
controller: posts_controller.php
class PostsController extends AppController{
    var $name='Posts';
    var $scaffold;
}

if you know, please help me, thanks a lot!
Best regard!

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to