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

Recommended Answers

All 3 Replies

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?

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

Please mark this thread as solved if you could :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.