Re: Creative solution with XML,PHP,MYSQL

From: Date: Sat, 17 Feb 2001 14:58:51 +0000
Subject: Re: Creative solution with XML,PHP,MYSQL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40340@lists.php.net to get a copy of this message
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" <siim_e@pshg.edu.ee> To: "Peter Skipworth" <skip@peterskipworth.com> Cc: <php_uk@yahoogroups.com>; <php-general@lists.php.net>; <mysql@lists.mysql.com>; <php_mysql@yahoogroups.com>; <php@topica.com>; <XML-L@topica.com> 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 doesnt seem the best way to do it...but then maybe its 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 <mysql-thread65600@lists.mysql.com> > > > To unsubscribe, e-mail <mysql-unsubscribe-skip=peterskipworth.com@lists.mysql.com> > > > 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 <mysql-thread65602@lists.mysql.com> > To unsubscribe, e-mail <mysql-unsubscribe-matrix=ipform.ru@lists.mysql.com> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > >

« previous php.general (#40340) next »