Skip to Content.
Sympa Menu

freetds - [freetds] Parse Error on the output

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: rconner AT commspeed.net
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] Parse Error on the output
  • Date: Fri, 23 Apr 2004 07:51:24 -0700 (MST)

I am trying to put the data recieved from a Query into tables but It seems
to be giving me some trouble. I get a Parse error on the 4th line here.
any suggestions?

while ($arr = mssql_fetch_row($res))

{
print ("<table border=1 cellspacing =0><tr align=center nowrap>");
print ("<td align=left nowrap width=180>%s</td>", $arr["0"]);
print ("<td align=left nowrap width=180>%s</td>", $arr["1"]);
print ("<td align=left nowrap width=180>%s</td>", $arr["2"]);
print ("<td align=left nowrap width=180>%s</td>", $arr["3"]);
print ("<td align=left nowrap width=180>%s</td>", $arr["4"]);
print ("<td align=left nowrap width=180>%s</td>", $arr["5"]);
print ("<td align=left nowrap width=180>%s</td>", $arr["6"]);
print ("<td nowrap width=70>%s</td></tr></table>", $arr["7"]);

}




  • [freetds] Parse Error on the output, rconner, 04/23/2004

Archive powered by MHonArc 2.6.24.

Top of Page