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'>

Did you know?Explore Trending and Topic pages for more stories like this.
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

How to add advertisment on top of videos
Hello,
I was told that i should find the answer for this problem in this forums.
I searched a

Sum of Values in an Array
This is probably really simple... but it's been years since I've written anything, so bare with me!<

Need help making a blockquote and line items conditional
I have some code I bought a few years ago that allows my clients to update content on their site usi

Kill a process
I have a question - how can I kill a process from a command line or by using Oracle SQL Developer? I

Taxonomy? Classification? Categorisation?
Not sure if there is a way around this classification problem
I have a supplier who produces

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

Need help PLEASE
ok i have this warning showing up

Warning: in_array() [function.in-array]: Wrong datatype for

Expandable Post Code
Hi,

Hope you can help. Which currently I haven't upgraded to connect to a mysql server, so i

do while...woes
I'm sure this is childsplay but it is stumping me, everytime i try what I think would make this work

IS this code correct
The reason i ask is everything underneath it appears to be alink as well, tis blimmin annoying

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