0

I know this is kinda vague, I can give more info if need be but why is the following line a a boolean value when I send it through the debugger.

while($row = mysql_fetch_array($result))
{ 
echo "<tr>"; 
echo "<td>" . $row['id'] . "</td>";
echo "<td>" . $row['name'] . "</td>";
 echo "<td>" . $row['issueMessage'] . "</td>";
 echo "<td>" . $row['computerDescription'] . "</td>";
 echo "<td>" . $row['osType'] . "</td>"; 
 echo "<td>" . format_phone($row['number']) . "</td>";  //format_phone is above this so...
 echo "</tr>";
 echo "</table>";
}

It's for a Computer tech support site I'm coding for a friend

2
Contributors
3
Replies
5
Views
6 Years
Discussion Span
Last Post by pixelsoul
0

Which line? There are 12 of them..

The only operator in all of that code is the "=" in line one, so I am not seeing anything else that would be remotely close to a boolean value.

Are you getting some error message that may provide me information on the problem?

0

line 1 but it's ok I've solved it. I didn't have the database setup yet. Thanks anyway though.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.