php - Getting Cell Information From Database Without Using While Loop -
i'm trying learn more efficient way of getting cell data without having use while loop. here's mean.
this each piece of information need:
$getname1 = mysqli_query($con,"select * livestreams stream_number='1'"); while($namerow1 = mysqli_fetch_array($getname1)) { $playername1 = $namerow1['stream_name']; } but have ton of rows need , need "stream_name" each row. i'm looking way grab stream_name specific row without having while loop each , every time. , need display information.
i think can first limit select field need select stream_number from instead of selecting table's field select * from did. while loop not problem in opinion.
Comments
Post a Comment