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
Access 2007 - Query Question
Something keeps changing the default permissions of my settings.php file for a web site on Linux
Logging in as domain user outside of domain
VB.net query problem
Locking a header & a footer in Microsoft Word 2003
Group and ungroup a password-protected sheet?
DatetimePicker in datagridview MSDN example problem
Excel 2007 viewer error in Windows Server 2008 R2 terminal server (crash)
How do I resolve stop error: *** STOP: 0x0000007B (0xF789EA94, 0XC0000034,0x0000000,0x000
0000)
Macro to clear all rows below the last cell of data