jax0n Posted February 23, 2009 Share Posted February 23, 2009 Hi everyone. I would be grateful if anyone might be able to lend me a hand in this question that has me ready to throw my computer out the window.. =) ----------------------------------------- If I have a Db table named "Forms" structured like the one below: --------------------------------------------------------------------------- id formid fieldname fieldvalue --------------------------------------------------------------------------- 1 1 name $myname 2 1 email $myemail 3 1 url $myurl 4 1 type $mytype 5 1 submit Submit --------------------------------------------------------------------------- How would I pull the fieldname & fieldvalue set of that particular "formid", then insert those values into my current (Curl) script $data=array() so that the code resembled the snippet below? $data=array( 'name' => $myname, 'email' => $myemail, 'url' => $myurl, 'type' => $mytype, 'submit' => 'Submit' ); ----------------------------------------- thank you, Jx Link to comment https://forums.phpfreaks.com/topic/146456-pull-values-from-db-to-curl-dataarray/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.