php - Missing @ Symbol when using $this->input->get() -


I am currently practicing to create a Joomla MVC component and so far everything works well, except That's when I submit a form with an element

  & lt; Input type = "text" value = "" name = "email" placeholder = "your -email@domain.com" />   

For example, with a value like

  email@domain.com   

JControllerLegacy is emaildomain.com . @ missing notice.

I value the form $ email = $ this- & gt; Input-> Is getting ('email');

Is this a feature of Joomla which I do not know about?

Try it, this issue is due to the Joomla filter.

You can try to do something like this,

  $ email = $ this-> Input-> gt; Get ('email', null, 'string');   

Hope this will work.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -