Hii, Can anybody add a link on this code ?
And when click on the link it should redirect to the view of the
search result.( ie.to array('controller' = 'members', 'action' =
'view'))
code :
echo 'li onClick=fill(\''.addslashes($results['members']
hii, It was a long time to cu.
ok here it shows the old error :Notice 8: Undefined variable html
On Mar 23, 1:32 pm, Amit Rawat rawatami...@gmail.com wrote:
Try this:-
li
?php echo $html-link($results['members']['name'],'/members/view',null);?
/li
Enjoy:
Amit:)
Check out the new
I tried this but shows the Undefined variable html :
echo 'li', $html-link($results['members']
['name'],array('controller' = 'members', 'action' = 'view',
$results['Member']['id']),array('class' = 'MembersController')), '/
li';
On Mar 23, 1:32 pm, Amit Rawat rawatami...@gmail.com wrote:
Try
helper already included.
var $helpers = array('Html', 'Form', 'Ajax', 'Upload', 'Javascript');
On Mar 23, 3:29 pm, Amit Rawat rawatami...@gmail.com wrote:
include the Html helper in your controller
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP
', 'Javascript');
but shows the same error.
On Mar 23, 4:07 pm, Sam Sherlock sam.sherl...@gmail.com wrote:
Is this code within a helper?
if so
$this-Html-link(...);
- S
On 23 March 2010 10:55, jiru jiransl...@gmail.com wrote:
helper already included.
var $helpers = array('Html', 'Form
In this code
echo 'li onClick=fill(\''.addslashes($results['members']
['name']).'\');'.$results['members']['name'].'/li';
this will shows the result from the database.
Here I need a link to the view of the result when I click the result.
I will try this but shows error :
echo 'li',
Haii,
Plz help me!
The following query retrieve the name and age from a member table
whose birthdays falling between current date and current date
+7.Actullay this query is working correctly.But i do'nt know how to
use this query directly with in the controller.Does anyone know how to
use the
Hii,
In my edit file , i don't want to edit two fields. How to make a field
as non editable.? Need to display only the value.
Plz help me.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are
Hii , programmers,
This is my controller function.
function index() {
$result=$this-IssueLibraryItem-query(select id,title from
library_items where library_items.id in (select
issue_library_items.library_item_id from issue_library_items where
return_date is null););
$options = array();
I have a dropdown list in my form.
How can i give it a validation criteria such that, if i try to enter
data from it to database it should check for uniqueness.
If already an entry is there in the database for it, it should display
a message.
We can do it for a text area using validation in the
) (issue_library_item.php)
regards,
jiru
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-...@googlegroups.com.
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com
hii,
echo $form-input('issue_date',array('type'= 'text','id'=
'datepick'));
this is my issue date input field in add.ctp.
I'm displaying the default(current)date using jquery. It showing like
11/12/2009 in text field. In my MySql db the field is -- 'issue_date
DATE'. After saving the data in
Thank you..
On Nov 12, 3:13 pm, Aurimas a.lic...@gmail.com wrote:
Change date format 11/12/2009 to 2009-12-11 in your datepicker or
change format before saving.
MySQL displays DATE values in ‘-MM-DD’ format
On Nov 12, 12:08 pm, jiru jiransl...@gmail.com wrote:
hii,
echo $form-input
date.(PC date).
My issue-date field shows current system date.
echo $form-input('issue_date');
Allways the due date should display the date +15 days from the issue
date.
Vey urgent. please help me.
regards,
jiru
--
You received this message because you are subscribed
...@gmail.com wrote:
I do a lot of this kind of thing:
date('Y-m-d H i s', strtotime('+1 hour',strtotime($start_datetime)));
You can use handy things like +2 monday to get to monday two weeks
from now and a number of cool things that I prioritize.
/Martin
On Oct 30, 8:08 am, Jiru jiransl
Hai,
Please give me the code for to check date field is null or not. ?
regards,
jiru
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-...@googlegroups.com.
To unsubscribe from this group
Hi,
I have a time field in the form. In the combo box it have
meridians[am/pm].
As I want duration I need hh/mm instead of am/pm in the drop
down.Please give suggessions for this.
Thank you.
--~--~-~--~~~---~--~~
You
hii,
In my project there is issue date and due date in dropdown list.
My problem is,
if the issue date is October 10 2009 i want to display the due date
as October 20 2009 automatically. How i can add/calculate the date.
regards,
jiru
Even though tried to change the options the hh/mm option is not
available.
On Oct 30, 11:09 am, John Andersen j.andersen...@gmail.com wrote:
Please read the cook book!
http://book.cakephp.org/view/189/Automagic-Form-Elements#options-time...
Enjoy,
John
On Oct 30, 8:00 am, Jiru jiransl
...@gmail.com wrote:
Please show the code with what you are trying to accomplish, so that
we may better be able to help you!
Enjoy,
John
On Oct 30, 9:19 am, Jiru jiransl...@gmail.com wrote:
Even though tried to change the options the hh/mm option is not
available.
On Oct 30, 11:09 am
Hii,
When we tried to edit the baked views like add.ctp, view.ctp etc the
changes made in the forms are not reflecting. How to track this
problem ? Plz Help.
regards,
jiru
--~--~-~--~~~---~--~~
You received this message because you
Hii Programmers ,
In cakephp when I use DATE field it displays the dropdown list with
year limit 1989-2029 how can we get the date from 1950?
regards,
jiru
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hai, Developers ,
What is the tentative availability date roadmap of CakePHP 1.3 ?
regards,
jiru
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake
it ?
regards, jiru
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr
always be: table_name_in_singular_form_id and in our case
it should be user_id. But we can't have two fields with same field
name.
Any thoughts on how we should name the two fields for services table ?
regards,
jiru
--~--~-~--~~~---~--~~
You received
; ?/li
?php endforeach; ?
/ul
anybody can correct the code in getData funcion or anywhrer.? or
getData.ctp file.
help me for ajax function page and css , js file .
regards,
jiru.
--~--~-~--~~~---~--~~
You received this message because you
,
jiru
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com
In my autocomplete_controller() i use the function
function getData(){
$this-layout = 'ajax';
$this-set(typed,$this-data['Autocomplete']['AutocompleteName']);
for($i=0;$i10;$i++){
$items[] = rand(1,100);
}
28 matches
Mail list logo