Good grief...

go and bake (using the console) a model/view/controller for any old
database table. Just any old database table, doesn't need to be anything in
particular.

then take a look at the view code generated for the index() method, and the
index method itself (particularly around $this->set). You will see how
tables can easily be made with a combination of plain old HTML, an array
and a foreach loop.




On Wed, Jun 6, 2012 at 12:01 PM, ying yang <[email protected]> wrote:

> what if there is a data ?
>
> On Wed, Jun 6, 2012 at 9:45 AM, John Hardy <[email protected]> wrote:
>
>>
>> http://www.webreference.com/html/tutorial1/index.html
>>
>> On Jun 5, 2012, at 6:42 PM, Michael Gaiser wrote:
>>
>> > <table>
>> >
>> > </table>
>> >
>> >
>> > Just like any other .html file.
>> >
>> >
>> > ~Michael
>> >
>> > On Tue, Jun 5, 2012 at 9:40 PM, ying yang <[email protected]>
>> wrote:
>> >> My question is how i can make a table in view.ctp?
>> >>
>> >> --
>> >> 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
>> >
>> > --
>> > 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
>>
>> --
>> 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
>>
>
>  --
> 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
>

-- 
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