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]
hi
i 'm using zend framework and i created in my page web a form. this is the code
[syntax="html"]
<form action="<?php echo $this->baseUrl ?>/index/formulaire/" method="POST" id="form1">
<div id="Canvas" style="position:realtive;height:5px;width:5px;">
<img alt="map_pixels" src="<?php echo $this->baseUrl;?>/public/images/main.png" style="position: relative; top: 70px; left: 30px; visibility: visible;" usemap="#main" width="1000" height="1000"/>
</div>
<input type="text" value="" name="idText" />
<input type="hidden" value="gggg" id="tabs_coords" />
<input type="submit" value="submit" id="submit"/>
</form>
Code: Select all
function formulaireAction()
{
$this->view->title = "formulaire d'inscription";
if ($this->_request->isPost())
{
$this->view->message=$this->_request->getPost('idText');
//$this->view->message=$this->_request->getPost('tabs_coords');
$this->render();
}
}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]