I'm stuck

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
bmcua

Wed Feb 26, 2003 4:21 pm

I'm new at this..

printf ("<td>%s</td>\n",$Row[artist]);
printf ("<td>%s</td>\n",$Row[extra1]);

should be

printf ("<td>%s</td>\n",$Row["artist"]);
printf ("<td>%s</td>\n",$Row["extra1"]);

correct me if I'm wrong...=)

User avatar
Redcircle
Moderator
Moderator
Posts: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Wed Feb 26, 2003 5:42 pm

don't use either

use

echo '<td>'.$Row['artist'].'</td>'."\n";
echo '<td>'.$Row['extra1'].'</td>'."\n";

this runs faster than printf(); and easier to understand.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests