Wednesday, 3 September 2014

To display Array values from control ( more than 1 row or recods)

To display Array values from control ( more than 1 row or records) PHP

use foreach($arravar as $arr) :

 <?php foreach($schedule as $sched) { $sched['col_name'] }
    ?>

End once all records are showed

-------------------------------------------------------------------

To display Array values from control only 1 row

use $arravar[0]['col_name']
 <?php echo $schedule[0]['schedule_child_id']; ?>
                              

No comments:

Post a Comment

Data scientist in 2025 - guide YT

  Reference from YouTube Channel:  Sahil & Sarra ► Everything in one place: Datacamp Associate Data Scientist with Python Career Track: ...