BR
asked on
mysql php data fetch
Dear Experts,
I think there is a way to fetch the data from the database without using "while"
how should I use it if it is a one row of data.
$result3 = mysql_query($sql3)
or die(mysql_error());
while($row = mysql_fetch_array( $result3 )) {
// Print out the contents of each row into a table
$datacity = $row['rt_value'];
echo $datacity;
}
I think there is a way to fetch the data from the database without using "while"
how should I use it if it is a one row of data.
$result3 = mysql_query($sql3)
or die(mysql_error());
while($row = mysql_fetch_array( $result3 )) {
// Print out the contents of each row into a table
$datacity = $row['rt_value'];
echo $datacity;
}
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER