Hi,
I'm following the IBM tutorial #2.
The code suggested there for login.thtml is:
-------------------------------------------------------------------------
<?php
if ($error)
{
e('Invalid Login.');
}
?>
Please log in.
</p>
<?php echo $html->form('/users/login') ?>
<label>Username:</label>
<?php echo $html->input('User/username', array) ?>
<label>Password:</label>
<?php echo $html->password('User/password', array) ?>
<?php echo $html->submit('login') ?>
</form>
<?php echo $html->link('register', '/users/register') ?>
-------------------------------------------------------------------------
When I go to http://localhost/users/login, i get:
Parse error: syntax error, unexpected ')', expecting '(' in /var/www/
cake/app/views/users/login.thtml on line 13
What could be wrong? Thx.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---