Re: [PHP-DB] how do i fetch some text

2005-05-31 Thread Jochem Maas
chintan wrote: how do i fetch some text from a webpage for some generated field? like i want to fetch a score line from a sport site in which the line says score? actually i want to fetch an IP from my ISP's page which displays it with my user name. where is the DB in this question?

[PHP-DB] use of pg_query_params

2005-05-31 Thread Magnus Kvalheim
Hi, I'm trying to make use of the pg_query_params function (ref: http://dk2.php.net/manual/en/function.pg-query-params.php ), but keep getting the error: Fatal error: Call to undefined function pg_query_params() I have PHP Version 5.0.3 PostgreSQL 8.0.3 I belive to have read that the

[PHP-DB] Re: DB dont_die and errors

2005-05-31 Thread Román Sánchez
Hi all, When the connection fails, the default behaviour is to die, printing also the dns, with user and password!!! How can I avoid this? If the package you use won't give an option to avoid this you could buffer the output with the ob_xxx functions. -- PHP Database Mailing List

Re: [PHP-DB] Missing mysql.so?. .

2005-05-31 Thread Martin Norland
KEVIN ZEMBOWER wrote: I'm trying to fix PHP and MySQL on a Debian woody system that might be pretty messed up. The system has some parts, perhaps some libraries, in Debian testing with the bulk of the system in stable. I thought it's been running okay since I made these system changes, but

Re: [PHP-DB] How many rows for 100 questions?

2005-05-31 Thread ...helmut
THank you for ya'lls feedback, one more question in regards to ID's, Primary Keys and indexing. Lets say that in the future the admin wants to list all the records for answer 50, now, if I have my user ID as the primary key, do I have to index all my answers so they are easy to search? or it

[PHP-DB] write to file, difficulty inputting data

2005-05-31 Thread mayo
I'm writing customer orders into a file. I'm 1. getting data from session variables and a database, 2. putting it into a variable called $fileContent 3. then touch($filename); 4. then writing $fileContent to $filename - the code is at the bottom The test versions of this have all gone well.

Re: [PHP-DB] How many rows for 100 questions?

2005-05-31 Thread Bastien Koert
indexes should, on average, be applied to any column(s) that are in a where clause, multi-column indexes are acceptable bastien From: ...helmut [EMAIL PROTECTED] To: php-db@lists.php.net Subject: Re: [PHP-DB] How many rows for 100 questions? Date: Tue, 31 May 2005 15:38:31 -0500 THank you

Re: [PHP-DB] how do i fetch some text

2005-05-31 Thread chintan
Jochem Maas wrote: chintan wrote: how do i fetch some text from a webpage for some generated field? like i want to fetch a score line from a sport site in which the line says score? actually i want to fetch an IP from my ISP's page which displays it with my user name. where is the DB in