RE: [PHP-DB] get field content From: Rick Emery (remery <email protected>)
Date: 10/29/01

$query = "select ColumnName from tableName WHERE rowNumber =
$rowNumber,$db";
$result = mysql_query($query);
$row = mysql_fetch_array($result);
$answer = $row['ColumnName'];

-----Original Message-----
From: phpnet <email protected> [mailto:phpnet <email protected>]
Sent: Monday, October 29, 2001 4:07 PM
To: PHP DataBase-List
Subject: [PHP-DB] get field content

Help!
I have drawn a blank..
I want to get the content of a field in a table where I know the
databaseName,tableName and columnName and the rowNumber.
Like:
$answer = mysqlCommand("select ColumnName from tableName WHERE rowNumber =
$rowNumber,$db)

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>