You are here: Re: php mysql problem... « PHP SQL « IT news, forums, messages
Re: php mysql problem...

Posted by J.O. Aho on 03/14/07 00:01

stjepko wrote:
> "J.O. Aho" <user@example.net> wrote in message
> news:55oml7F25eh18U1@mid.individual.net...
>> stjepko wrote:
>>> I have a problem in my code... I want to order by rednibr table in
>>> podartikli....how?
>> $sqlpodartikli = "SELECT * FROM podartikli WHERE artiklid=".$row[id]."
>> ORDER BY rednibr";
>
> I done that but after that i did not get any resultat out :(
> but tnx...

Check that your select query is correct, echo it out can help.
Do use mysql_error() to see if there is some other errors

echo mysql_errno() . ": " . mysql_error() . "<br>\n";


Of course you can order things in php, but thats a lot more work storing
it an a big array and then sort it.This will consume more memory and
take longer time.

Fix your mail client too, there shouldn't been any row below this one in
your reply.
--

//Aho

 

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

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