Jump to content

sprintf error


birbal

Recommended Posts

PHP error[15-Oct-2010 08:15:05] PHP Warning: sprintf(): Too few arguments in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\regpage.php on line 247Mysql errorquery is emptycan any one please tell me why these error coming?

$qry=sprintf("insert into forum values(NULL,'%1s','%1s',now(),'a')",$clean['nick']);				$res=mysql_query($qry,$con);

here is the code indicated at the line 247. $con is active mysql conection

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...