On Apr 20, 5:30 am, OpnetITGuru <[email protected]> wrote: > hi i am getting a very bad date output on my form,i am still new in > cakePHP framework.i want it to display in one horizintal line i.e > showing in the following manner (YMD) in a sigle horizontal line not > in vertical format like this:year displaying in one line followed by > month in another line. > > code in the form: <?php > echo $form->input('date logged',array('type'=>'date', > 'format'=>'Y-M- > D')); > ?>
I think this is due to the HTML elements not having enough space and wrapping. Are these displayed inside a table cell? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
