You are here: Re: No results populating from SQL Query « All PHP « IT news, forums, messages
Re: No results populating from SQL Query

Posted by Drakazz on 05/18/06 08:39

robert: I think yes, the warnings are definately off;

But what I am unsure here about is this:
$num = mysql_num_fields($result;
which should be changed to:
$num = mysql_num_fields($result);

Syntax error ;]

I don't see a point in using mysql_fetch_row, because it will return an
array with a bunch of associative and numeric keys :|
Use mysql_fetch_assoc and then print_r() each row!

That should help.

 

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

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