View Single Post
  #2 (permalink)  
Old 07-18-05, 07:27 PM
sszettella sszettella is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
What are the columns on the Number table? What column are you trying to display? My guess is that there is no column called "Number", and therefore you are getting nothing from $row['Number']. If you want to display all columns in the matched row, you might try something like:
Code:
while($row = mysql_fetch_array($result)) {
  foreach($row as $col) {  // for every element in the $row array, get the value
    echo $col;
  }
  echo "<br>"; // to seperate the rows
}
Hope that helps
__________________
Steve Szettella
4word systems
http://www.4wordsystems.com
http://szettella.blogspot.com
Reply With Quote