For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > November 2006 > Re: [PHP-DB] RE : RE: [PHP-DB] re: small question php/postgreSQL (basic question, not









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] RE : RE: [PHP-DB] re: small question php/postgreSQL (basic question, not
JeRRy

2006-11-08, 3:57 am

phpinfo can be a little bit of info that may have a module missing. But I doubt that is the issue here, but you never know. Why don't be just changeyour query completely like you would in SQL if you were searching direct for certain fields? Because if these 2 fields are the only fields you will EVER need in this page why be too technical. However if your thinking of adding the other fields than this is trhe way to go.

I have probably missed something along the traps. But I am happy to try and demonstrate another way you could do it.

Are you on your own server or sub-leased or something?

Jerry


----- Original Message ----
From: Bastien Koert <bastien_k@hotmail.com>
To: coughlandesmond@yahoo.fr; jusa_98@yahoo.com; php-db@lists.php.net
Sent: Wednesday, 8 November, 2006 2:45:49 AM
Subject: RE: [PHP-DB] RE : RE: [PHP-DB] re: small question php/postgreSQL (basic question, not small)


is your server set to work with php files?

Bastien


>From: Desmond Coughlan <coughlandesmond@yahoo.fr>
>To: Bastien Koert <bastien_k@hotmail.com>, jusa_98@yahoo.com,
>php-db@lists.php.net
>Subject: [PHP-DB] RE : RE: [PHP-DB] re: small question php/postgreSQL
>(basic question, not small)
>Date: Tue, 7 Nov 2006 16:38:24 +0100 (CET)
>
>X-No-Archive: true
>
> That doesn't work, either. Still the blank page. Hmm ... the file is
>in the right place../usr/local/www/data ... 'cos all of the other files
>(*.html one an d all) are served from there, and they're available to the
>outside world.
>
> D.
>
>Bastien Koert <bastien_k@hotmail.com> a écrit :
> The code does need to know what the fields are...I think a more likely
>issue
>is the query for some reason, also change the $query to result in the query
>statement
>
>try
>
>$result=pg_query($query) or die(pg_error()); //to see if there are any
>errors with the query
>
> while($row=pg_fetch_array($result,NULL,P
GSQL_ASSOC)) {
>echo "Title: ".$row['isbn_no']."
>";
>echo "blah ".$row['code_livre']."
>";
>}else{
>echo "No rows found";
>}
>
>
>bastien
>
>
>
>";
>";
>";
>";
>to
>code.
>
> ________________________________________
_________________________
>Ready for the world's first international mobile film festival celebrating
>the creative potential of today's youth? Check out Mobile Jam Fest for your
>a chance to WIN $10,000! www.mobilejamfest.com
>
>--
>PHPDatabase Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>---------------------------------
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos
>questions ! Profitez des connaissances, des opinions et des expériences des
>internautes sur Yahoo! Questions/Réponses.


________________________________________
_________________________
Not only doesWindows Live™ OneCare™ provide all-in-one PC care to keep your
computer protected and well-maintained, but it also makes creating backup
files a breeze. Try it today!
http://ideas.live.com/programpage.a...94d45&mkt=en-ca
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com