Having issues

Having issues

rjventronerjventrone Posts: 1Questions: 0Answers: 0
edited March 2011 in General
This is my first time using these datatables and I can not get it to work, am I doing something wrong ? I am getting the error
"DataTables warning (table id = 'dTable'): Unexpected number of TD elements. Expected 7 and got 0. DataTables does not support rowspan / colspan in the table body, and there must be one cell for each row/column combination."
[code]


UNF BCM Alumni Directory












$(document).ready(function() {
$('#dTable').dataTable();

} );











Name
Company
Position
Email
Phone
Current City
Year



<?php
$sql =" SELECT name, company, position, email, gradYear, currentCity, phone
FROM unfAlumni
ORDER BY name ASC
";
$result = mysql_query($sql);
while($row = mysql_fetch_assoc($result)){
$name = $row['name'];
$company = $row['company'];
$position = $row['position'];
$year = $row['gradYear'];
$email = $row['email'];
$currentCity = $row['currentCity'];
$phone = $row['phone'];

echo "
$name
$company
$position
$email
$phone
$currentCity
$year


";
}
?>




[/code]
This discussion has been closed.