Hi fellow flashers,
If i were to have the following php query:
$query = "SELECT * FROM alist WHERE list_id = $id";
$result = mysql_query($query);
while($row = mysql_fetch_array($result)){
echo "<b>{$row['List_Name']}</b><BR>";
echo "{$row['address']}, {$row['state']}<BR>{$row['post_code']}<BR>Tel: {$row['phone']}<BR><BR>";
echo "{$row['Info']}<BR>";
echo '</blockquote>';
....how can i get the data from those rows that have data.
For example, some rows won't have a 'phone' value so i don't want this to leave a blank area when it comes to outputting the rsults.
What do i need to add to my script inorder to achieve this?
Thanx...suzy_Q