Miscellany
public php v1 · immutablewhile ($data = mysql_fetch_assoc($city) ) { if($data['city'] == 'Rancho Cordova') { echo 'We are rancho style'; } echo '<a href="something">', $data['city'], '</a>';}while ($data = mysql_fetch_assoc($city) ) { if($data['city'] == 'Rancho Cordova') { echo 'We are rancho style'; } echo '<a href="something">', $data['city'], '</a>';}