PHP Help - To break record into new line
//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
// PHP Help - To break record into new line
//VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
****************************************************************
Title : Break into new lines
Purpose : To break each record queried into new lines
Programmer : Mohd Izzairi Yamin
******************************************************************
<?
while ($results = mysql_fetch_array($answers)) {
// this sticks the results row by row into an array called $row.
// rows are called as $array_name[”COLUMN_NAME”]
//$out =
$out .= $results[”ID”].’,';
$out .= $results[”IC_NUMBER”].’,';
$out .= $results[”-”].’,';
$out .= $results[”POSITION”].’\n’;
$out .= $results[”EDUCATION_LEVEL”].’\n’;
About this entry
You’re currently reading “PHP Help - To break record into new line,” an entry on Xyiry PHP Blog | Where Open Source Lives
- Published:
- 08.10.07 / 4pm
- Category:
- PHP
No comments
Jump to comment form | comments rss [?] | trackback uri [?]