Jump to content

[SOLVED] Not showing integer


Xtremer360

Recommended Posts

It's not showing the label next to the show name and I don't know why. I'm not getting an error.

 

printf ( "<tr class=\"%s\">", $sClass );
	print "<td valign=\"top\" align=\"center\" width=\"30\"><a href=\"#\" onclick=\"editbooking('editbooking', 'content' , '". $row ['id'] ."'); return false;\">Edit</a></td>";
	printf ( "<td valign=\"top\">%s</td>", $row [showname], $row [label] );
	printf ( "<td align=\"center\" width=\"80\">%s</td>", $row [bookingdate] );
	printf ( "<td align=\"center\" width=\"50\">%s</td>", $row [numberofmatches] );
	printf ( "<td align=\"center\" width=\"100\">%s</td>", $row [status] );
	print '</tr>';

Link to comment
https://forums.phpfreaks.com/topic/145105-solved-not-showing-integer/
Share on other sites

Ok, and I take

query = "SELECT *, DATE_FORMAT(`bookingdate`, '%m-%e-%Y') AS bookingdate FROM shows WHERE `type` = 'Weekly Event' ORDER BY `showname`";

 

Ok, and I take it that you are getting output from the other values?

 

Do you have access to mysql CLI? Do you get output from 'showname' in mysql?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.