Reply to I'm really confused

Your name:

Reply:


Posted by phill.luckhurst@googlemail.com on 11/18/07 21:14

I haven't a clue with PHP so please spoon feed me.

In the middle of a script that I have been looking at there is this
code which I have extracted to run on it's own

<?php
include "flashthumb.php";
?>

<script type="text/javascript" src="mootools.js"></script>
<script type="text/javascript" src="slideshow.js"></script>

<div id="my_slideshow" class="slideshow">
<img src="images/vote.jpg" alt="A picture" width="400" height="300" /
>
</div>
....
<script type="text/javascript">
myShow = new Slideshow('my_slideshow', {hu: 'images/', images:
['vote.jpg','thumb_rar.jpg','thumb_wav.jpg']});
</script>
<?
?>

Now flashthumb.php generates a list of filenames in the variable
$url[1], $url[2], $url[3] etc

how would I use those in the myshow line instead of
'vote.jpg','thumb_rar.jpg','thumb_wav.jpg'

or am I totally barking mad and getting it wrong?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация