PHP, Two pages, option from one page shows one of three forms in the another page -


i trying find how 1 example made. there page , page b. page contains form. in form there radio buttons options, add, delete, , update... choosing add page , pressing submit, open page b.php form add shown. choosing delete in page a.php , submitting show same pageb.php delete form showing , not add. , on. question is, how done. have heard of multiple forms on same page , 1 filled out executed, cannot locate way above described done. help?

when check pageb.php code below:

if($button == "delete") {  //your code delete  }  if($button == "add") {  //your code add  } 

and on..

as per form submisstion , values getting different code executied on pageb.php

note: above code dummy only, explain how work flow be.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -