schema());
}
else {
echo "Model $modelName not loaded";
}
?>
On Feb 18, 3:43 pm, "Siebren Bakker" <[EMAIL PROTECTED]> wrote:
> @the_woodsman, yes, the form helper does have knowledge of the schema of the
> database. If you have SQL debugging on, you will notice that pages with
> form-helpers on
@the_woodsman, yes, the form helper does have knowledge of the schema of the
database. If you have SQL debugging on, you will notice that pages with
form-helpers on them will perform a "DESCRIBE table_name", so that it is
able to match the $form->input() with the correct type of input for the
appro
I don't really know, but I do think the form helper has some knowledge
of the database schema; why not take a look in there for an example?
http://api.cakephp.org/1.2/form_8php-source.html#l00491
On Feb 17, 10:35 am, Tomka <[EMAIL PROTECTED]> wrote:
> Hello.
>
> I tried and searched for an
Hello.
I tried and searched for an hour, but I could not find a solution:
How can I access the schema of a model in a view?
Tomka.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this g