Date: 10/29/01
- Next message: Fotwun: "RE: [PHP-DB] Fatal error: Call to undefined function: pg_connect() in ..."
- Previous message: phpnet <email protected>: "[PHP-DB] get field content"
- Maybe in reply to: phpnet <email protected>: "[PHP-DB] get field content"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
$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>
- Next message: Fotwun: "RE: [PHP-DB] Fatal error: Call to undefined function: pg_connect() in ..."
- Previous message: phpnet <email protected>: "[PHP-DB] get field content"
- Maybe in reply to: phpnet <email protected>: "[PHP-DB] get field content"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

