1 answer
0 votes
Asked by sebb86, on 19/1/10 in
dropdown field (menu) for foreign-key values?!?
Hello,
in my add-view:
<h2><b>add a mac address</b></h2>
<br>
<?php
echo $form->create('MacAddress');
echo $form->input('hardware_unit_id');
echo $form->input('description');
echo $form->end('save mac address');
?>
the field...
1 answer
0 votes
Asked by blacksymmetry, 1 month, 3 days ago in
Calling function register with error
Hello,
i have got function with name register, that is used for get values from register form and insert into database.
function register()
{
if (!empty($this->data)) {
$this->User->create();
if ($this->User->saveAll($this->data))... 1 answer
0 votes
Asked by gmchun83, 2 weeks ago in
Add Image button for form
Hai,
I want to add paypal image at button instead just 'Pay with Paypal' text.
Please refer following for my code:
<?php if(!empty($paypalData)):?>
<?php echo $paypal->submit('Purchase this package', $paypalData);?>
<?php else:?>
<?php echo... 1 answer
0 votes
Asked by touchaponk, 1 week, 6 days ago in
Cakephp adding empty record into database
Hi,
I've develope a mobile phone website based on cakephp and after I published the website, I started to have empty record added to my phones' database without knowing where's the source of the problem.
I've tried beforeSave() callback to try to...
<< previous next >>