Jump to content

Combine fetched array


limecity

Recommended Posts

<?php

        while ($row = mysql_fetch_array($result)) {

echo '<tr><td>'.$row['fname'].'</td><td>'.$row['lname'].'</td><td>'.$row['invoice'].'</td><td>'.$row['rtype'].'</td><td>'.$row['nr'].'</td><td>';

}?>

 

how do i add two array into one?

like first name and last name

 

i did something like this and it didn't work : ['fname']+['lname']

 

help please

Link to comment
https://forums.phpfreaks.com/topic/50872-combine-fetched-array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.