Welcome Guest, Not a member yet? Register   Sign In
Easy Question - Comments_View and Showing Article
#11

[eluser]gtech[/eluser]
well you can search the php manual on looping around the keys.

Code:
<?php
function test_print($item2, $key)
{
    echo "$key = $item2";
}
echo "<h3>";
array_walk($query, 'test_print');
echo "</h3>";
?&gt;
but the method you suggested is a perfectly valid way. it enables you to position your data where you want.


Messages In This Thread
Easy Question - Comments_View and Showing Article - by El Forum - 04-20-2008, 03:38 PM
Easy Question - Comments_View and Showing Article - by El Forum - 04-20-2008, 03:58 PM
Easy Question - Comments_View and Showing Article - by El Forum - 04-20-2008, 04:01 PM
Easy Question - Comments_View and Showing Article - by El Forum - 04-20-2008, 04:32 PM
Easy Question - Comments_View and Showing Article - by El Forum - 04-20-2008, 04:48 PM
Easy Question - Comments_View and Showing Article - by El Forum - 04-20-2008, 04:49 PM
Easy Question - Comments_View and Showing Article - by El Forum - 04-20-2008, 04:52 PM
Easy Question - Comments_View and Showing Article - by El Forum - 04-20-2008, 04:56 PM
Easy Question - Comments_View and Showing Article - by El Forum - 04-20-2008, 04:59 PM
Easy Question - Comments_View and Showing Article - by El Forum - 04-20-2008, 05:00 PM
Easy Question - Comments_View and Showing Article - by El Forum - 04-20-2008, 05:07 PM
Easy Question - Comments_View and Showing Article - by El Forum - 04-20-2008, 05:09 PM
Easy Question - Comments_View and Showing Article - by El Forum - 04-20-2008, 05:13 PM
Easy Question - Comments_View and Showing Article - by El Forum - 04-20-2008, 05:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB