Imp Facts for development in php


1 allways use id, name in form fields
2 when create submit botton allways gave id and name( same) and veluse(show on botton)
3 form action = (page redirect after submit data), method = post and encrypt type (for any file upload )
4 if(isset($_POST['addnewmovie']) && !empty($_POST['addnewmovie']=='add new movie'))
always $_POST['use form botton id'] && addnewmovie ==' use velue of form botton'
5 When we send id for edit operation send fatch id from db

Comments

Popular posts from this blog

How to send form data to database with the help of PHP and SQL