NewART Development Web development tutorials, SEO articles and PHP script resources

12Mar/100

getParam() in Zend Framework

How do you use the getParam() Front Controller Parameter ?

usually in php your link should be somthing like:

user.php?action=aboutuser&username=coolname&gender=male

and You call it


$_GET["username"];

$_GET["gender"];

But in Zend Framework the url looks more like this:

hostname/user/aboutuser/username/wiwit/gender/man

And we can interpret it like this:

Tag Cloud

My Websites

Categories

Archives