=null);
> then call it that way:
> $html->link('/posts/view/'.$data['Post']['id'].'///'.$data['Post']
> ['title']);
> and so.
> Hope that's what You were looking for
>
> On Jul 21, 7:47 pm, Laburno <[EMAIL
About the Blog tutorial, how can i call the view action from a url
like this?
http://example.com/posts/view/id/my-post-title/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group,
Hi all!
Could someone explain to a total noob like me, what is the best method
to simply update a div with ajax, using cake 1.2?
I wish to have a link that call a search function and update a div
with the results.
Thank you
--~--~-~--~~~---~--~~
You received this
Hi again!
I was trying, just for learning purpose, to make the form work with
ajax.
The idea is to update a div with different search results from the
database.
This is in my view:
A
B
C
submit('Search', array('url' => 'search',
'update'=>'results')); ?>
And this is the action Search, in the
> one set to default checked
>
> Then in your action you can test with
>
> if (!empty($this->data) && isset($this->data['my_action'])) {
> switch ($this->data['my_action']) {
> // case statements - or you could use if..elseif...else
&g
Hi,
i'm a total newbie to Cakephph, so please don't be rude :).
I'm trying to make a form with a radio button with 3 values (the radio
is not linked to any database attribute).
Depending on the value selected, the controller function invoked will
perform different tasks... the mess is that i don't