 Reviews:
·Comcast
| reply to httppost
Re: Generating a HTTP POST request with dynamic contentsYou trying to do like facebook(i think) or something, click the link that then shows the next field if you want it? IE: name: Email:
link-add your address link-add your website
If thats what your doing, Id just render them all to the page, just display:none, and give the fields the database column names so you could do a foreach like suggested. Something like
foreach($_POST as $k=>$v){
if(!empty($v)) $sql = '`'.$k.'`="'.$v.'",';
}
If the fields are dynamica nd the user can make them, its all in your db. There needs to be a table for form and then elements.
-- Connecticut Web Design and Development |