Re: [PHP-DB] output problem

2002-05-23 Thread Camelia Enderby

If I am not mistaken, try printing $line["user"] instead of just $line
as in:
");
print (" $line["user"]->user\n");
print ("");
}
?>
Cami

- Original Message -
From: "Chris Grigor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 23, 2002 2:46 PM
Subject: [PHP-DB] output problem


Howdi Alll

some of you might laugh at this but I cant get this to work
Im doing a count on a field and want to diplay the result here is an
example...


");
print (" $line->user\n");
print ("");
}
?>



what am I missing as it returns no value at all from $line->user, should I
be
doing this differently??

Thankyou

Chris

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DB] output problem

2002-05-23 Thread Chris Grigor

Howdi Alll 

some of you might laugh at this but I cant get this to work
Im doing a count on a field and want to diplay the result here is an 
example...


");
print (" $line->user\n");
print ("");
}
?>



what am I missing as it returns no value at all from $line->user, should I be 
doing this differently??

Thankyou 

Chris

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DB] output problem

2002-05-23 Thread Chris Grigor

Howdi Alll 

some of you might laugh at this but I cant get this to work
Im doing a count on a field and want to diplay the result here is an 
example...


");
print (" $line->user\n");
print ("");
}
?>



what am I missing as it returns no value at all from $line->user, should I be 
doing this differently??

Thankyou 

Chris

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DB] output problem

2002-05-23 Thread Chris Grigor

Howdi Alll 

some of you might laugh at this but I cant get this to work
Im doing a count on a field and want to diplay the result here is an 
example...


");
print (" $line->user\n");
print ("");
}
?>



what am I missing as it returns no value at all from $line->user, should I be 
doing this differently??

Thankyou 

Chris

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php