Reply to Re: Resource ID

Your name:

Reply:


Posted by Kye on 10/19/07 11:01

> As far as I know, that is the 71st resource you create in your script.
> There are functions for getting the type of the resource if you don't
> know it. A resource is a PHP-special data type and is used for files,
> database connections and a lot more. I don't think you can get much more
> details than the resource type.

So is there any way to know why :

<td class="pageHeading">
<? if ( isset($_POST[dropdown]) ) {
$heading = mysql_query("SELECT links_categories.category,
links_categories.cat_id FROM links_categories WHERE $_POST[dropdown] =
links_categories.cat_id") or die('Error, Heading select failed');
} else {
$heading = "Markets, Fairs, Fetes and Field Days";
}
echo $heading; ?></td>

is returning a Resource ID # 71 or occasionally # 73???

--
Yours Sincerely
Kye

[Back to original 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

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