Jump to content

PostgreSQL Help


jppr

Recommended Posts

i tried host=stevie.heliohost.org . and it seems it work...

 

but now i got another problem:

 

Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation "gpss" does not exist in /home/gpss2009/public_html/_classes/Banco.php on line 16

 

Warning: pg_fetch_assoc() expects parameter 1 to be resource, boolean given in /home/gpss2009/public_html/_classes/info.php on line 12

 

 

got this error messages, any help? :S

 

 

Code:

 

Banco.php line 16 error:

 

function Query($sql){

$exec = pg_query($this->db, $sql);

return $exec;

}

 

info.php line 12 error:

 

$rs = $db->Query("select id_gpss, latitude from GPSS");

 

$row = pg_fetch_assoc($rs);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...