Re: pass parametrs

2012-08-29 Thread Mohammad Naghavi
Nareh,
please try to start reading some basic tutorials about php, not the cakephp
itself, then the blog example from cake's book. What you are asking for and
what you asked for yesterday, shows that you need at first some info about
how http, html and php work at all then you can start with a framework like
cake.

regards,
MN


On Wed, Aug 29, 2012 at 9:49 PM, Nareh Tarasyan wrote:

> Yea, i know itbut i want other thing
>
> For example when I click on some username, it opens all information about
> the user and in address writes: ./?id=1
>
> --
> 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.
> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>
>
>

-- 
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.




Re: pass parametrs

2012-08-29 Thread Nareh Tarasyan
Yea, i know itbut i want other thing

For example when I click on some username, it opens all information about 
the user and in address writes: ./?id=1

-- 
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.




Re: pass parametrs

2012-08-29 Thread Paul Willis
http://book.cakephp.org/2.0/en/controllers.html#Controller::set

Paul

On 29 Aug 2012, at 19:59, Nareh Tarasyan  wrote:

> How do you pass parameters from controlller to view?
> 
> For example:
> 
>  echo "".$i." 
> "."";
>  How to do it in cake?
> 
> -- 
> 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.
> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>  
>  

-- 
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.




pass parametrs

2012-08-29 Thread Nareh Tarasyan
*How do you pass parameters from controlller to view?*
*
*
*For example:*
*
*
* echo "".$i." "."";
*
* How to do it in cake?*

-- 
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.