About PHP Call database image address, implementation of the issue of the wheel display

Source: Internet
Author: User
About PHP Call database image address, implementation of the problem of wheel display
Include_once "connect.php"; Connecting to a database
$jdz _pic=mysql_query ("select * from Jdz_images where filetype= ' image/pjpeg ' ORDER BY aid desc limit 0,5"); Find attachments in JPG format
for ($i =0; $i <5; $i + +)
{
$pic =mysql_fetch_array ($jdz _pic);
$jdz _picshow[i]= $pic [path]. $pic [filename]; Connect the image address and name.
}

?>

Here is the flash call
var swf_width=250
var swf_height=230
var config= ' 5|0xffffff|0x0099ff|50|0xffffff|0x0099ff|0x000000 '
Config settings are: Auto play time (seconds) | text color | text background color | text background Transparency | Key Digital Color | Current key color | normal button color

var files= ' '
var links= ' '
var texts= ' '

document.write (' ");
document.write (' ');
document.write (' ');
document.write (' document.write (' document.write (' ");
document.write (' ');


Big Brother Help to see!!! FLASH doesn't show anything!!!!

------Solution--------------------
This is not necessarily the problem of reading the database, you first put the following image links and other variables written in a fixed test can be out, if this is not the case that is the problem of flash

------Solution--------------------
discuss
I changed to a fixed address also does not show!! What's the matter???

------Solution--------------------
If you think the data read the picture has a problem, that the data read from the database to see if the image address is correct, if correct, that is the problem of the flash.
But the meaning, above those did not see, just give you to solve the problem of thinking,:-)
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.