REMOVED.

RastaLulz

fight teh power
Staff member
May 3, 2010
3,926
3,921
Thanks mate, works :)
 

Works, but how would one go about fixing this?
PHP:
 <? foreach($recs['response']['recs']['objs'] as $records)
{
    echo $records['display_name'];
    echo "<tr>
                                     
                                            <td>$records['display_name'];</td>
                                            <td>$records['type'];</td>
                                            <td>$records['display_content'];</td>
                                            <td>Enabled</td>
                                            <td>Yes</span></td>
                                            <td>PRO</td>
                                        </tr>";
}
?>

Echo won't work and just causes errors.
 
@RastaLulz
PHP:
foreach($recs['response']['recs']['objs'] as $records)
{
    echo $records['display_name'];
    echo '<tr>'
    echo '<td>' . $records['display_name'] . '</td>';
    echo '<td>' . $records['type'] . '</td>';
    echo '<td>' . $records['display_content'] . '</td>';
    echo '<td>Enabled</td>';
    echo '<td>Yes</td>';
    echo '<td>PRO</td>';
    echo '</tr>';
}
 

brsy

nah mang
May 12, 2011
1,530
272
Here is a jSON to PHP script that I made for a package tracking company a few weeks ago. This should answer any further questions considering I documented most of it.

 

Users who are viewing this thread

Top