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

Tree Menu
Hi guys,

Can anyone help me making a tree navigation system? I have a site where I'm allowin

Got A Free Server :(
So I was given a free server

http://shopping.yahoo.com/p:Compaq%20ProLiant%201500%20Server:1

Just wondering what you think about my site
I am new to phpfreaks i just seen this form and thought it would be cool to see what other thought a

IP Logger for Voting Script
Can anybody help me place an IP logger into my voting script?
I know that maybe it is not as secu

Using two $_POST Function / Switch () statements, second does not work.
Hi all. I’m new to php and am having a problem getting $_POST Function / switch () to work. I

Checking BOM Authorization Group
Hai Friends,

I have developed a mulitilevel BOM display report. End users have been assig

Help with usergroups? prolly really quick
So were coding our own forums for a game system we made an we have the users level setup but now I n

php unable to sent email
Hi, guys, I try to send a email through php but unfortunately the mail unable to sent. Here is my co

Dealing with code in db query
I am dealing with C code and I need to make sure it is encoded some how to ensure its integrity and

Logging and nologging bulk insert
Hi,

oracle version: 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production

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