Part of the EllisLab Network
   
 
About manual URL´s
Posted: 16 August 2007 11:13 AM   [ Ignore ]  
Summer Student
Total Posts:  26
Joined  08-13-2007

Hi people,

I´m using manual URL´s, like this:
http://localhost/tessabrinquedos/index_painel.php?c=clienteController&m=altera&cod=5

When calling this URL, in my ClienteController class, I have the method:

public function altera($cod) {
}

But I got a warning message saying that the “cod” variable doens´t exist…

So, passing parameters to controller´s methods works only with automatic/clean URL´s?
Tks again! grin

Profile
 
 
Posted: 17 August 2007 04:05 PM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  26
Joined  08-13-2007

I´m afraid yes… hmmm

Profile