<br><br><div><span class="gmail_quote">On 10/5/05, <b class="gmail_sendername">Will Smith</b> <<a href="mailto:willbelair@yahoo.com">willbelair@yahoo.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>hi,</div>
<div>Can i pass a param from an html page into te search method:</div>
<div>----------</div>
<div>$c->stash->{artist} = music::M::CDBI::Artist->search_like(name=>'%$my_parameter%'); ### my_parameter is the name field from an html page that call the sub</div>
<div>---------</div>
<div>Thanks</div></blockquote></div><br>
$c->stash->{artist} = music::M::CDBI::Artist->search_like(name=>$c->req->param('my_parameter').'%');<br><br>
Like this?<br>
<br>
-- <br>With regards<br>Marcus Ramberg