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
Replacing Keyboard on Toshiba Portege A600
Clever Navigation
RoundNumber with rounding off difference
VBA macro script populating cells from data source
passing a looped value to a form
Maxtor OneTouch 4 Family drive is no longer working
itextSharp doubles in size
Trying to redirect a user from http to https automatically. Windows 2008 running II7
Samsung 160 G disk bad sector at 30.91%, HDD Reg. still finding bad sectors but no fix? Why?
SQL 2008 SP1 Ghost count!