daniish Posted October 28, 2006 Share Posted October 28, 2006 Evening!I have a form where i would like to send a hidden variable. The value of this variable is a URL to an html template displaying much of the information entered in the form. The info from the form is stored as a record in a MySQL database. I am using the following code but i'm not sure its right.[code]<INPUT TYPE=hidden NAME=info_id VALUE="http://www.globexposure.net/more_info.html?marker_id=" . $row['id'] . >[/code]The URL needs to include the MySQL 'id' for the record but i don't know how to parse the id to the form before the form is submitted. I hope you understand me and can help.Many thanksOlly Quote Link to comment https://forums.phpfreaks.com/topic/25438-mysql-record-id-as-a-hidden-form-variable/ Share on other sites More sharing options...
fenway Posted October 29, 2006 Share Posted October 29, 2006 Sorry, I don't understand.... Quote Link to comment https://forums.phpfreaks.com/topic/25438-mysql-record-id-as-a-hidden-form-variable/#findComment-116360 Share on other sites More sharing options...
daniish Posted October 30, 2006 Author Share Posted October 30, 2006 I have re-phrased this and asked it elsewhere where i got a solution. Please ignore this post. Quote Link to comment https://forums.phpfreaks.com/topic/25438-mysql-record-id-as-a-hidden-form-variable/#findComment-116628 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.