you will need to use the JSON for the AJAX responses, so it will probably be
something lke this:

$sql = "SELECT * FROM images ORDER BY images.id LIMIT 7,".$_POST['start'];
$query = mysql_query($sql);
$arr = array();
while ($row = mysql_fetch_assoc($query)) $arr[]=$row;
echo json_encode($arr);

note that this is not secure and also assumes the db structure is the same
as the required JSON object
-----------
אריה גלזר
052-5348-561
5561


On Tue, Dec 15, 2009 at 13:33, Deepali <[email protected]> wrote:

> Thanks a lot for you tried a new solution.
>
> i have downloaded your plugin. I have query let say something like
> this
>
> $fav= "SELECT images from mytable where id='20'"
>
> So using this i am getting 30 images which i wanted to show in your
> slider.
>
> cant we do it something like this
>
> <div id="your_slidre">
> <?
> if(mysql_num_rows($fav) > 0)
>   {
>
>     while($row12 = $op->select($fav))
>     {
>
> // images
>
> }
> }
>
> </div>
>
> On Dec 15, 3:08 pm, אריה גלזר <[email protected]> wrote:
> > I've added a new class to the library - AJAXThumbs - that allows you to
> > create the carousel via AJAX calls (dynamically add new thumbnails to the
> > list).
> > this comes to answer both Rolf's request and, if i understand correctly
> > Deepali's as well.
> > i can't upload the example to GHPages because it requires PHP but the
> > download package includes a demo (using php) so you can try it out.
> > this will obviously introduce new bugs but i hope it'll be manageable.
> > -----------
> > אריה גלזר
> > 052-5348-561
> > 5561
> >
> >
> >
> > On Sun, Dec 13, 2009 at 12:18, אריה גלזר <[email protected]> wrote:
> > > hey.
> > > I've made this nice carousel widget as a sub-module of a PHP class i
> made,
> > > but I've separated them for the forge.
> > > thought I'de share
> > > demo page:
> > >http://arieh.github.com/ThumbsSlides/
> >
> > > page at the forge:
> > >http://mootools.net/forge/p/thumbsslides
> >
> > > -----------
> > > אריה גלזר
> > > 052-5348-561
> > > 5561
> >
> > Nothing selected
>

Nothing selected

Reply via email to