Html Form Action Url Id To Equal Php Variable Fetched From A Table March 31, 2024 Post a Comment Hi all im having a problem i simply want to submit a form and for that form to go to a page with the page id that is fetched from a table in my database, ive currently done this wiSolution 1: Create a hidden input and pass the topic id as its value<inputtype="hidden"name="topic_id"value="<?phpecho$topic_id?>" >CopyWhen you submit the form you can access the topic id from the global variable $_POST$topid_id = $_POST['topic_id']; Copyhope this help. Share Post a Comment for "Html Form Action Url Id To Equal Php Variable Fetched From A Table"
Post a Comment for "Html Form Action Url Id To Equal Php Variable Fetched From A Table"