display stuck .... ! ! ! !
| From: | toby z | Date: | Sat, 27 Jul 2002 07:24:54 +0000 |
| Subject: | display stuck .... ! ! ! ! | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-14987@lists.php.net to get a copy of this message | ||
hi guyx
i ve a lil problem
i run this query n get a result set
$query = "SELECT lang_id,strng_id, strng FROM strngx
where pg_id = 6 and lang_id = '$lang_id '";
$query_result_handle = mysql_query ($query)
or die ('qry failed ! DA tbl must xixt in DA db
specifyd bov ....');
exe and store it in $row
for( $v=1; $v < mysql_num_rows($query_result_handle);
$v++)
{
$row = mysql_fetch_row($query_result_handle);
$str[ $row[0] ][ $row[1] ] = $row;
}
alls well
but
i want to get a single record displayed
when i do
echo($row[2]."<br>");
i get all the records in $row[2]
but i want jst 1
what should i do ?????
how should i go about it .... ?????
plx plx help
m stuck ...
:(
thnx a million ..... billion
stuck ....
toby ....