Don't know that this will work but it might help isolate the problem:
/* MySQL Connection Variables */
$host=localhost;
$user=arras_WebMaster;
$password=qwerty;
$dbase=arras_Members;
/* MySQL Connection String */
if(!$dbConnect = @mysql_connect ($host, $user, $password))
{
echo
Not sure what the problem was, but I dug up a similar script I used for
something else and modifed it for this project, and voila. I then put
the two side by side and I still can't see where the problem is.
Thanks for the input.
-Original Message-
From: Nomadeous [mailto:[EMAIL
Look into the LIMIT command, it will limit the number of rows in the result
set to the number you specify
-Original Message-
From: bill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 7:10 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: mysql query
function
(mysql_error());
$row=mysql_fetch_array($result);
$euro =$row[0];
-Original Message-
From: bill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 7:50 AM
To: David Buerer
Subject: Re: [PHP] Re: mysql query
Maybe I wasn't clear. The value returned should be called euro
:) It just started to work. World's a strange place. Maybe someone was doing
something to the server/php/mysql, dunno.
Niklas
-Original Message-
From: _lallous [mailto:[EMAIL PROTECTED]]
Sent: 17. syyskuuta 2001 15:03
To: [EMAIL PROTECTED]
Subject: [PHP] Re: MySQL query error
You cant use a select statement withoug using a table name.
check out this
$query = insert into classification(customername) (select customername
from username where username='$username');
Incorrect in mySQL you can do
mysql select 3+5;
returns 8
plus a whole lot of other functions that can
6 matches
Mail list logo