[PHP] strange parse error at EOF

2002-12-01 Thread Bård Magnus Fauske
Hello. Get a strange parse error at End of File Any suggestions what I do wrong? I use UNIX-formatted text-file written in windows-client and uploaded to server. Using PHPEDIT to check I get the same error as when I visit the page, and I can't find any error looking through the file ("/,/; etc

[PHP] Checking Insert to Postgre, whats wrong?

2002-07-28 Thread Bård Magnus Fauske
Hello. I use this code-snip similar to this to check if the inserted tuppel in my database was successfull: --- snip --- $OID = pg_last_oid($resultat); if($OID<0) { echo $errormessage; exit; } $query = "SELECT * FROM medlemmer WHERE oid = '$OID';"; $resultat = pg_