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
Avoid pinned programs expanding in Windows 7 start menu
Combofix Log - Analysis Assistance Request
PHP: Decode Modified Base64
How do I create a LUN?
dateDiff - combining a date selection and a time selection
Communigate Pro bounce back "The message was not delivered because the return address was refused"
How do I add a second domain controller for OWA authentiion on Exchange 2007?
Printing multiple divs using java script
Drupal - changing css for only one View
basic question about graphs and gradients