Oh those great pets we get to meet ...
|
- professional
- experienced
- responsive
%>PHP<% > // Include the database connection require_once dirname(__FILE__) . "/includes/db.conn.php"; //Select all of the pet images $pets = mysql_query("SELECT * FROM SBB_Pets ORDER BY Pet_ID ASC",$db) or die( "Error " .mysql_errno() .": " .mysql_error() ); // Calculate the number of columns and rows for the images $num_images = mysql_num_rows($pets); $image_rows = ceil($num_images / 2); ?>
Licensed Real Estate Broker in Illinois and Michigan(773) 227-2229
|