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

1,000 select boxes with 100 options?!
I have 1 drop down select box with 1,000 options.


In some case, there will be 100+ of the

Module pool selction screen parameters combination logic
Hi floks,
Am new to the module pool development ,Recently i have created one program based on

mySQL and PHP search
Hello,
I am trying to code a project and ran into a brick wall with one of my pages. I am pretty

Preserving user-entered linebreaks
Hi, I'm building a web 2.0 thingy from scratch and I wanna display text which users input. It's all

Warning: mysql_num_rows() supplied argument is not a valid MySQL result resource
This may be simple I just may need another pair of eyes..

When i get records back the below c

foreach help.
Hello all,

First time I'm attempting to use a foreach statement and was just wondering if my

MVC - Code review
I'm in the process of trying to wrap my head around MVC, and as part of that, I'm attempting to impl

What am I missing here? Help!
Hello all!. I can't seem to get this working right. Well - it renders right, but something is goin

ScriptResource.axd gives an error on fresh install of ASP.NET Ajax 1.0
Hello,I have a fresh install of Microsoft ASP.NET Ajax 1.0. When I create an Ajax enabled website in

Include ("Absolute Path") of a file?
I'm not sure what I'm doing wrong. I am writing my php code in the same directory of the file that

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