[PHP-DB] Fw: PHP amd MYSQL

2002-06-07 Thread Peter Goggin
Following my earlier message I had some replies which suggested a way to solve my problem. Unfortuantelu I cannot seem to get the suggested code to work. This may well be because I have mistyoed something. The script I am running is: ? session_start(); ? html body user:?=$_SESSION['dbauser']?br

Re: [PHP-DB] Fw: PHP amd MYSQL

2002-06-07 Thread Jason Wong
On Friday 07 June 2002 14:27, Peter Goggin wrote: Following my earlier message I had some replies which suggested a way to solve my problem. Unfortuantelu I cannot seem to get the suggested code to work. This may well be because I have mistyoed something. OK we'll work back to front on this

[PHP-DB] Using PHP on Cygwin-apache on W2k

2002-06-07 Thread Menno Harzing
A few questions, on which I cannot find the answer myself :( - Where should I place my php.ini? (is it still c:\winnt\system32) - Where do I place the module needed for apache? - How do I include php in apache (the 'loadmodule...' and-so-on) Thnx for reading, hope anyone has an answer... Menno

RE: [PHP-DB] MySQL won't return results to screen.

2002-06-07 Thread Ray Hunter
Edit your php.ini and log all errors to a file and then review the filesalso you can turn on all errors and warnings to be displayed---this has helped me many times... Thank you, RAY HUNTER -Original Message- From: Blaine Dinsmore [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07,

[PHP-DB] Re: Slow performance (PHP MYSQL)

2002-06-07 Thread Andy
PHP is known to be verry fast. MySQL as well. So your problem my be somewhere else. I am doing a similar thing on my site with thumbnails. Check it out on http://www.globosapiens.net Andy -- http://www.globosapiens.net Global Travellers

RE: [PHP-DB] MySQL won't return results to screen.

2002-06-07 Thread Gary . Every
Do you have SELECT permissions for your httpd user on the DB? Gary Every Sr. UNIX Administrator Ingram Entertainment (615) 287-4876 Pay It Forward mailto:[EMAIL PROTECTED] http://accessingram.com -Original Message- From: Blaine Dinsmore [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07,

Re: [PHP-DB] MySQL problem on Yellow Dog Linux

2002-06-07 Thread Garrett Nelson
On 6/6/02 4:48 PM, Jason Wong [EMAIL PROTECTED] wrote: On Friday 07 June 2002 04:36, Garrett Nelson wrote: I'm a relative newbie to the Linux/web server world, having worked with Macs most of my life. I recently installed the Server install of Yellow Dog Linux, with no window managers, CLI

[PHP-DB] Anyone know why this won't return results?

2002-06-07 Thread Blaine Dinsmore
html head titleResults Test/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body bgcolor=#FF text=#00 ?php $server = mdotlims; $user = httpuser; $pass = pass; $db = mysql_connect($server,$user,$pass); if (!$db) {

Re: [PHP-DB] Anyone know why this won't return results?

2002-06-07 Thread Paul DuBois
At 17:45 -0400 6/7/02, Blaine Dinsmore wrote: html head titleResults Test/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body bgcolor=#FF text=#00 ?php $server = mdotlims; $user = httpuser; $pass = pass; $db = mysql_connect($server,$user,$pass);

Re: [PHP-DB] Anyone know why this won't return results?

2002-06-07 Thread Blaine Dinsmore
Thanks Paul, You were absolutely right! I can't believe I didn't see that hidden in there. That explains why I never got any error messages. Thanks again, Blaine Paul DuBois [EMAIL PROTECTED] 06/07/02 05:55PM At 17:45 -0400 6/7/02, Blaine Dinsmore wrote: html head titleResults Test/title

[PHP-DB] no subject

2002-06-07 Thread Tony
I have a huge database that some of the content need to be update weekly or even daily. I wrote a PHP script for that purpose. It's supposed to get the data from database, find the URL, fopen() it, find the information, then update it back into the database. Unfortunately, everytime I run the

[PHP-DB] Unique SQL query?????????????

2002-06-07 Thread Georgie Casey
Is there any SQL command that will return a list of *unique* entries from a fied. ie only repeat one for duplicates i have a database of products, each having a category, and obviously a lot of products have the same category and I want to create an index of all the different categories. thanks

[PHP-DB] MyCC Problem

2002-06-07 Thread César L . Aracena
Hi all. I know that this isn’t probably the best place to make this question, but I uses that some of you uses MyCC to connect to a remote MySQL DB. My connection is no problem, but when I issue a SQL command, which tells the DB to INSERT multiple rows into one table, It gives me an error every

[PHP-DB] MS Access DB Open as file ?

2002-06-07 Thread Ivan Lam
Hi All, I'm new in PHP and I whether I can open a MS Access database file directly with PHP? There is a thing called ODBC but in the function odbc_connect(), The first parameter is something called dsn, what's that? And does that mean I can't open the MS Access database directly

Re: [PHP-DB] Unique SQL query?????????????

2002-06-07 Thread Jason Wong
On Saturday 08 June 2002 08:42, Georgie Casey wrote: Is there any SQL command that will return a list of *unique* entries from a fied. ie only repeat one for duplicates i have a database of products, each having a category, and obviously a lot of products have the same category and I want to

Re: [PHP-DB] no subject

2002-06-07 Thread Jason Wong
On Saturday 08 June 2002 07:02, Tony wrote: Please enter a subject when you post. I have a huge database that some of the content need to be update weekly or even daily. I wrote a PHP script for that purpose. It's supposed to get the data from database, find the URL, fopen() it, find the