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 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.... 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. 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
Archived
This topic is now archived and is closed to further replies.