Break results into rows
Posted: Fri Jul 10, 2009 9:02 am
Hello
I'm truly a newbie - so be gentle
I'm having trouble getting returned results to display as one row per line
Can someone please show me - tell me - advise me - what i'm not doing to get one row per line
Here are the returned results
http://www.openrealtour.com/test/newfile4.php
Here is the code i'm using
I'm truly a newbie - so be gentle
I'm having trouble getting returned results to display as one row per line
Can someone please show me - tell me - advise me - what i'm not doing to get one row per line
Here are the returned results
http://www.openrealtour.com/test/newfile4.php
Here is the code i'm using
Code: Select all
$rs = mysql_query("SELECT tourid, mls, userid, mls_loc FROM tour") or die ("invalid query");
while ($row = mysql_fetch_assoc($rs)) {
printf("tourid: %s mls: %s", "http://URL?=" . $row["tourid"], $row["mls"]);
}
mysql_free_result($rs);