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