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
VMware Workstation 7.1 Won't Install
How can I find the position of the first occurance of a numeric charater in a string with PHP?
Serialize ajax requests with jQuery
Does OpenOffice allow Windows 7 preview pane to preview .doc and .xls files?
can't find Printer Setup Utility in Mac OS X 10.5.8
Count consecutive values in MS SQL Server 2005
Excellent uninstall script from Zoofan. Need a way to speed it up or run multiple machines at the same time.
storing multiple image in one field
VMWare 4 Error parsing the servers clients.xml file
Windows Small Business Server 2008 Console Updates