The following code works
[php]if ($_GET[id]) {
while ($sel = mysql_fetch_array($selectString, MYSQL_ASSOC)) {
print(current($sel));
}
}[/php]
This does not:
[php]if ($_GET[id]) {
while ($sel = mysql_fetch_array($selectString, MYSQL_ASSOC)) {
if(next($sel)){
print(next($sel));
}
}
}[/php]
Any ideas why???