On the risk of asking a dumb question... did you check that the title is being saved in the db?
You could also check the source html output to see if link is working 2009/6/23 erFoncho <[email protected]> > > Hi, i did step by step tutorial Blog, Capitule 10. > > I use win xp, xampp, apache 2, php5. > > the view code: > > <tr> > <th>Id</th> > <th>Title</th> > <th>Created</th> > </tr> > <?php foreach ($posts as $post): ?> > <tr> > <td><?php echo $post['Post']['id']; ?></td> > <td> > <?php echo > $html->link($post['Post']['title'],"/posts/view/".$post > ['Post']['id']); ?> > </td> > <td><?php echo $post['Post']['created']; ?></td> > </tr> > <?php endforeach; ?> > > the result is: > > Id Title Created > 1 2009-06-22 16:16:35 > 2 2009-06-22 16:16:35 > 3 2009-06-22 16:16:35 > > Why the titles is blank??? > why " $html->link" not working? > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
