note 42134 added to function.sprintf

From: Date: Tue, 04 May 2004 17:09:34 +0000
Subject: note 42134 added to function.sprintf
Groups: php.notes 
Request: Send a blank email to php-notes+get-69212@lists.php.net to get a copy of this message
$i = 0; while ($row_rs_turma = mysql_fetch_assoc($rs_turma)) { mysql_select_db($database_avalProf, $avalProf); $query_rs_professor = sprintf("SELECT * FROM professor WHERE idprofessor =%u",$row_rs_turma[idprofessor]); $rs_professor = mysql_query($query_rs_professor, $avalProf) or die(mysql_error()); $row_rs_professor = mysql_fetch_assoc($rs_professor); $totalRows_rs_professor = mysql_num_rows($rs_professor); $i++; ?> this while must bring me and show the query above, but it don't. know any solution? ---- Manual Page -- http://www.php.net/manual/en/function.sprintf.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42134 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42134&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42134&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#69212) next »