_Z wrote:
> Now the index.ctp view:
>
> <tr<?php echo $class;?>>
>       <td>
>               <?php echo $waitlist['Waitlist']['first_name']; ?>
>       </td>
>       <td>
>               <?php echo $waitlist['Waitlist']['last_name']; ?>
>       </td>
>       <td>
>           <?php echo $waitlist['Waitlist']['ph_mobile']; ?>
>     </td>
>
>       <td>
>               <?php echo $waitlist['Waitlist']['party_size']; ?>
>       </td>
>
>    <td> <?php $form->input('store_table_id'); </td>
>
>   
You have an unclosed php tag there, but I guess that's a typo.
Here are your options.

Options no.1:
You need to create an actual form for this to work.
e.i
$form->create('Waitlist');
$form->input('store_table_id');
$form->end();

Hiding the unnecessary  fields with CSS would be an option.


Option no.2:

<?php $form->input('store_table_id', array('type'=> 'select', 'options' => 
$store_tables));?>

You're going with option 2, right? :-)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to