I am creating a form to create the database.php file that cake uses.
The problem that I am having is that cake is still attempting to
connect to the database. I have concluded that the problem is with the
$form->text .
If I change:
$form->text("install/host");
to:
$form->text("host");
the db_connect error disappears. Could someone please explain this to
me. I would like to still use "install/host" without the db_connect
error. Is this possible?
Install View
-----------------------
<form action = "<?php echo $html->url('/install'); ?>" method =
"post">
<?php echo $form->label("Host"); echo $form->text("install/host");
echo $form->submit("Next Step");
?>
</form>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---