Please, help!! problems with Resource id #3

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
vmferr
Forum Newbie
Posts: 3
Joined: Sun Jan 26, 2003 6:21 am

Please, help!! problems with Resource id #3

Post by vmferr »

Hi!

I have a problem with this code:

$result2 = mysql_query("select * from temas");
while ($row = mysql_fetch_assoc($result2))
echo $row["nombre_tema"];

When I execute this, the ouptup is:

cultura informática historia Resource id #3

¿Is it possible not to show "Resource id #3"?, ¿how?

I am sorry because my english is not good.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Are 'cultura informática historia' results from the database?

Mac
vmferr
Forum Newbie
Posts: 3
Joined: Sun Jan 26, 2003 6:21 am

Post by vmferr »

Yes 'cultura informática historia' are in the database, but Response #id 3 is not.
Post Reply