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
passing a looped value to a form
Creating digital certificates for individual employee timesheet
PL/SQL Performance
Somebody is sending emials form my hotmail account
How to commit changes of a Typed Dataset to database at once
SQL 2008 SP1 Ghost count!
Dynamic Color
C# 2005 how to Change the Target .NET Framework Version of an Existing Project
a program is attempting to send the following email message on your behalf - Windows Live mail
Computer restarted itself twice, event logs attached. Windows 7 Pro