Coniditional execution of the form by php -


i conditionally execute form.

i mean, "if something" code written , executed <form action="aaaa.php">. "else", there <form action="bbb.php">, again executed.

execution and, of course, validation (or rewriting action="") done automatically when user press send button.

is possible php?

would know how make this?

thanks lot

yes. possible. try -

<form action="<?php echo (something) ? 'aaaa.php' : 'bbb.php';?>" > 

check here


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -

php - Mongodb connectivity error -