943,796 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 497
  • PHP RSS
Dec 29th, 2008
0

Adding multiple images

Expand Post »
Hello friends
If i want to add multiple images (suppose 10 images) to a database
how can any one give me the sujjestion please
help me

Thank u in advance
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
knrakesh is offline Offline
35 posts
since Jul 2008
Dec 29th, 2008
0

Re: Adding multiple images

you can do it by giving image name as img1,img2,img3,img4,img4,img5,img6 and so on...

and put your adding image code in for loop like:
PHP Syntax (Toggle Plain Text)
  1. for($j=1;$j<=10;$j++)
  2. {
  3. //code for image addition
  4. and image name should like $_POST['img'.$j]
  5. }
Reputation Points: 137
Solved Threads: 162
Posting Virtuoso
Shanti C is offline Offline
1,641 posts
since Jul 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: sql query into textarea
Next Thread in PHP Forum Timeline: Spell Checking Against Words in Database





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC