Page 2 of 2

Posted: Fri Aug 24, 2007 9:45 am
by nahydy
feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


ok for the empty String i found what cause the problem i forgot to add an id for my hidden input. Now i can do this in my controllers:

Code: Select all

function formulaireAction()
{
	
	$this->view->title = "formulaire d'inscription";
	if ($this->_request->isPost()) 
	{
		
		$res=$this->_request->getPost('tabs_coords');
		
		$fields= explode(',',$res); 
		
		//$this->view->message=$this->_request->getPost('tabs_coords');
		
		
		
		//var_dump($_POST['tabs_coords']);
		var_dump($fields);
		
		
		
		$this->render();
	}
}
thank you for your help


feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]