You are here: Re: echoing url to xml output « PHP Programming Language « IT news, forums, messages
Re: echoing url to xml output

Posted by Toby A Inkster on 12/20/07 10:01

it wrote:

> echo '
> <product id="'.$row['description'].'">
> </product>';

echo '
<product id="'.htmlentities($row['description']).'">
</product>';

Also, for what it's worth...

> select * from products ORDER BY description

select description from products ORDER BY description

ought to be faster.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 12 days, 20:36.]

Sharing Music with Apple iTunes
http://tobyinkster.co.uk/blog/2007/11/28/itunes-sharing/

 

Navigation:

[Reply to this 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

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