CODE
<?php echo $html->formTag('/users/register') ?>
<p>Please fill out the form below to register an account.</p>
<label>Username:</label>
<?php echo $html->inputTag('User/username', array('size' => '40')) ?>
<?php echo $html->tagErrorMsg('User/username', 'username is required') ?>
<label>Password:</label>
<?php echo $html->passwordTag('User/password', array('size' => '40')) ?>
<?php echo $html->tagErrorMsg('User/password', 'password is required') ?>
<label>Email Address:</label>
<?php echo $html->inputTag('User/email', array('size' =>
'40','maxlength'=>'255')) ?>
<?php echo $html->tagErrorMsg('User/email', 'email is invalid') ?>
<label>First Name:</label>
<?php echo $html->inputTag('User/first_name', array('size' => '40')) ?>
<?php echo $html->tagErrorMsg('User/first_name', 'first_name is required') ?>
<label>Last Name:</label>
<?php echo $html->inputTag('User/last_name', array('size' => '40')) ?>
<?php echo $html->tagErrorMsg('User/last_name', 'last_name is required') ?>
<?php echo $html->submitTag('register') ?>
</form>
When run that cake php code it will show the following warning
Warning (512): Method HtmlHelper::formTag does not exist [CORE\cake\libs\view\helper.php, line 143]