Multi-image upload problems


Posted on 16th Feb 2014 07:03 pm by admin

Lets see if I can get some help on this one. Can anyone show me what I am doing wrong here. I'm just trying at this point to verify that the form inputs will work right. $max_img is set to 6. Here is the code:

Code: <form enctype='multipart/form-data' name='inputform' method='post' action='".FUSION_SELF."?op=Add'>

for($i=1; $i<=$max_img; $i++){
echo "<tr><td>".$locale['CLS_0103']."$i:</td><td>
<input class='textbox' type='file' name='image[]' size='45' maxlength='150' value='http://'></td></tr>";
}

</form>

///////////////////////

//image upload handling

$array = (isset($_POST['image']));
$list = implode(",",$array);
$ad_pic = $list;
$list_array = explode(",",$ad_pic);
reset($list_array);
foreach($list_array AS $picture) {

echo $picture."<br />";

}

// end upload handling

die;
After 'die' executes I get no output

No comments posted yet

Your Answer:

Login to answer
215 Like 12 Dislike
Previous forums Next forums
Other forums

cURL Sending File as Post
This is a bit complicated, I'm just hoping someone else has run into this and knows how to do it a d

INSERT for date range
Hi all

I have the following table

Code: [Select] `date` date
`day` int(2)
`

New to Arrays
Hi I am new to PHP (a week and a half now) and I am just beginning to read about arrays. I understan

asp authentication problem
Hello all, I want to use the asp authentication (from asp.net configuration) in my web site. there

php form help
Hey,

I use a control file to set my meta tags and titles

Here's an example
Code: &a

please fix the error
What is the error in the below code ???
Line number On/Off | Expand/Contract <?php

Creating a function
Basically i wanna put all this code in a seperate file

Code: <?php

How to make a mail Form secure?
I want to create an email Form on my web site. How can I make the Form secure so the submitted info

php web service error
hey guys,
I'm working on a project requires the use of web services. I've been trying a few tutor

Need help with unexpected T-STRING error
I'm a newbie and I'm still learning PHP. However this error has me stumped. I've googled, searched t

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash