0

See,am working with joomla 1.5 component,i want to create a component so that it can submit some datas to database...so i have a folder "com_lessons" inside the "component" folder.so u know,we have controller,model,view, for creating a component...sn't it??

<form action="">
      <table width="400" border="0">
  <tr>
    <td>Lesson Title</td>
    <td><input type="text" name="lesson_title" /></td>
  </tr>
  <tr>
    <td>Lesson Language</td>
    <td><input type="text" name="lesson_language" /></td>
  </tr>
  <tr>
    <td>Lesson Video</td>
    <td><input type="text" name="lesson_video" /></td>
  </tr>
  <tr>
    <td>Lesson Background Image</td>
    <td><input type="text" name="img" /></td>
  </tr>
  <tr>
    <td>Lesson Created Date</td>
    <td><input type="text" name="date" /></td>
  </tr>
  <tr>
    <td><input type="submit" value="Add" /></td>
  </tr>
</table>

</form>

The above code is my form and i have a database table to store these values...how can i implement this thing using MVC architecture??i dnt know the work flow of MVC,Please provide me the basic code to implement this..i mean the code of model,view and controller to implement this.please..

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by paulrajj
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.