LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-11-2004, 10:14 PM   #1
Elijah
Member
 
Registered: Feb 2003
Location: Philippines
Distribution: Debian, Mandrake, Redhat
Posts: 90

Rep: Reputation: 15
[PHP/POSTGRESQL] Resource id #12?


While checking for errors in my script I get this from my results variable:

Resource id #12

What does this mean? doing a pg_NumRows() on it results to 0, does that mean Resource id #12 is equivalent to no result?
 
Old 07-12-2004, 03:41 AM   #2
Elijah
Member
 
Registered: Feb 2003
Location: Philippines
Distribution: Debian, Mandrake, Redhat
Posts: 90

Original Poster
Rep: Reputation: 15
Nevermind I found out it's actually a pgsql result, now it makes me wonder why I keep getting that resource id thingy instead of the actual results I need
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Best online PHP resource....for little/no cost... bd1308 Programming 1 09-01-2005 01:41 AM
PHP with MySQL and PostgreSQL ? Boby Linux - Software 2 05-25-2005 05:11 AM
php/postgresql BobNz Programming 4 05-10-2004 06:18 PM
Slackware Postgresql and PHP squirreldogger Slackware 2 11-21-2003 05:19 PM
Postgresql and PHP problem peteABK Programming 7 08-03-2003 07:44 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration