Search Results

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: DiGSGRL ; Forum: PHP and child forums
Forum: PHP Jan 4th, 2009
Replies: 7
Solved: urgent help...
Views: 384
Posted By DiGSGRL
Take the table out of the while loop.
Use the while loop to create your image array.

$i=0;
while ($rows = mysql_fetch_array ($Img_result, MYSQL_ASSOC))
{
$imageArray=$rows['filename'][$i};...
Forum: PHP Jan 4th, 2009
Replies: 7
Solved: urgent help...
Views: 384
Posted By DiGSGRL
The reason you are only showing one file over and over is due to this line:

$realname = $rows ['filename'];

You need to tell it to iterate through the results array. You should keep a counter...
Forum: PHP Jan 3rd, 2009
Replies: 7
Solved: urgent help...
Views: 384
Posted By DiGSGRL
Are you saying you want 3 images per table row?
If this is what you want to do, you may also want to change your limit on the query results to 6.

Then you would put your table creation inside of...
Showing results 1 to 3 of 3

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC