odin88

Questions Asked

1 answer

Linking model for 2 columns

I have a table A and table B

in table A i want to link 2 columns in table B

so let say i have...

1 answer

CakePHP and MongoDB / CouchDB

How can I use CakePHP and MongoDB or CouchDB ?

Is there any tutorial to use this kind of database...

1 answer

using model in components

I'm using CakePHP 1.1

Im trying to save data in a table but i got this error

Notice: Undefined...

Answers

0

Tutorial ACL again


function build_acl() {
		if (!Configure::read('debug')) {
			return $this->_stop();
		}
		$log = array();

		$aco =& $this->Acl->Aco;
		$root = $aco->node('controllers');
		if (!$root)...

-2

Cakephp, Retreive Data for HABTM Models using find

i assume Project->Project_Categories->Categories ?

have u try

var $uses=array("Project","Category");

make sure there is slug column in your table

0

How do I add multiple categories to jobs and save the form data?

use saveALL() :)

http://book.cakephp.org/view/1032/Saving-Related-Model-Data-hasOne-hasMany-belongsTo

Comments

Linking model for 2 columns

is it public or var ? public $hasOne I have try but still have error Unknown column 'q1.Question_id' in 'on clause'

Cakephp, Retreive Data for HABTM Models using find

@dogmatic69 Project-Project_Categories-Categories What i mean by that statement is Im assuming thread starter have table Project , categories and between them is project_categories .. Sorry .. "-" give some misunderstanding to u guys .. I do...

using model in components

hah ! it works ! Thank you so much .. :)

using model in components

is this work on cakePHP 1.1 ?
Member since:
December 9th, 2009
Last active:
2010-05-23 08:27:43
Questions asked:
3
Answers:
3
Correct Answers:
0
Comments:
4