It is even possible to do just with JavaScript, by being creative. However,
refreshing the page seems the logical option. Is there any special reason
for not doing it? I am almost always in favor of keeping things on the
server side.
Jose Carlos


>Relax, XML has N.O.T.H.I.N.G. to do with what you want to do.
>
>You want dynamically update (rebuild) HTML page, well,
>the only way to do it currently in more or less compatible way
>is to use javascript+DHTML. And the result will SUCK, i know,
>i've done it. So, go the way the elders did. Refresh the page and
>pass the script a parameter which says how to sort the data.
>
>----- Original Message -----
>From: "Siim Einfeldt aka Itpunk" <[EMAIL PROTECTED]>
>To: "Peter Skipworth" <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
><[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
><[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Sent: Saturday, February 17, 2001 5:38 PM
>Subject: Re: Creative solution with XML,PHP,MYSQL
>
>
>>
>>
>>   But I`m pretty sure it is possible with XML, in theory at least, I
>get
>> the data from the database, I write it into array, put into xml and
>then
>> deal with it - that`s how I imagine it.
>>
>>   DHTML doesn`t seem the best way to do it...but then maybe it`s
>just me.
>>
>>
>> cheers
>> Siim Einfeldt
>>
>> > I'm afraid XML isn't going to help you - you need to investigate
>DHTML
>> > options, although you'll be lucky to find a solution which is
>> > compatible across both Netscape and IE.
>> >
>> > regards,
>> >
>> > P
>> >
>> > On Sat, 17 Feb 2001, Siim Einfeldt
>> > aka Itpunk wrote:
>> >
>> > > Hi everybody,
>> > >
>> > > I want to implement ordering something on a website without
>refreshing the
>> > > page. Lets say i have four columns in the html table -
>name,age,skill and
>> > > phone. All these are links - under these are the information,
>eg:
>> > > Name Age Skill Phone
>> > > Siim 23  php   051...
>> > > Tony 18  html  132...
>> > >
>> > > Now, when i click on the name, it should order the listings by
>name, if I
>> > > click on the age, I get the listing ordered by age and etc,etc.
>Generally
>> > > it is easy to do it, but how to do it without refreshing the
>page every
>> > > time I want to order by something else?
>> > >
>> > > It should be possible with XML; I get the data from mysql
>database with
>> > > php, I write it into an array and ... now how could I make it
>function the
>> > > way I just described? Could someone point me some already
>written code or
>> > > explain me in detail how to do it?
>> > >
>> > >
>> > > Thank you,
>> > > Siim Einfeldt
>> > >
>> > > PS: Sorry about sending this message to so many lists, but I
>haven`t seen
>> > > this kind of code anywhere, but at the same time I know it is
>possible.
>> > >
>> > >
>> >
>> --------------------------------------------------------------------
>-
>> > > Before posting, please check:
>> > >    http://www.mysql.com/manual.php   (the manual)
>> > >    http://lists.mysql.com/           (the list archive)
>> > >
>> > > To request this thread, e-mail
><[EMAIL PROTECTED]>
>> > > To unsubscribe, e-mail
><[EMAIL PROTECTED]>
>> > > Trouble unsubscribing? Try:
>http://lists.mysql.com/php/unsubscribe.php
>> > >
>> > >
>> >
>>
>>
>> --------------------------------------------------------------------
>-
>> Before posting, please check:
>>    http://www.mysql.com/manual.php   (the manual)
>>    http://lists.mysql.com/           (the list archive)
>>
>> To request this thread, e-mail <[EMAIL PROTECTED]>
>> To unsubscribe, e-mail
><[EMAIL PROTECTED]>
>> Trouble unsubscribing? Try:
>http://lists.mysql.com/php/unsubscribe.php
>>
>>
>
>
>---------------------------------------------------------------------
>Before posting, please check:
>   http://www.mysql.com/manual.php   (the manual)
>   http://lists.mysql.com/           (the list archive)
>
>To request this thread, e-mail <[EMAIL PROTECTED]>
>To unsubscribe, e-mail
><[EMAIL PROTECTED]>
>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to