Microsoft
Software
Hardware
Network
Question : PHP Post
i have a large php form which i don't wanna spit into multiple pages. usually for posting data i use
foreach ($_POST as $k=>$v) {
$prepare_query.="'".$_POST
[$k]."', ";
}
and then add insert into .... etc later...
now the problem is the form which i am using right now has image upload option...so can i use foreach loop to post all date and upload image as well. so shall i do post in foreach and image seperately
Answer : PHP Post
No data uploaded is not sent using $_POST you have to use separate loop for $_FILES to upload the files you cant do the both things together.
Random Solutions
SQL reporting services error in sharepoint integrated mode. Shared data source not valid
Unix Perl or Shell script to split a data file by header+trailer
Raid 1 mirror Bad block discovered
Drupal - changing css for only one View
SQLCommandBuilder - GetUpdateCommand, GetInsertCommand and GetDeleteCommand Questions
Latest Vsphere client
Sorry, VMware GO doesn't currently support ESXi servers with multiple datastores.
Moving WordPress Site - Page Not Found
Vb.net RSA asymmetric encryption algorithm
Installer error 2869 Windows 7